David Michael
f89e1cf69a
Merge branch 'gnu' into sync
2017-04-27 12:05:22 -07:00
Andrei Borzenkov
f34ed1f53c
grub-fs-tester: improve squash4 tests
...
1. Make sure files are not multiple of block size. This will ensure tail packing
for squash4 and may also trigger more codes paths in other filesystems.
2. Call mksquashfs with -always-use-fragments to force tail packing.
2017-02-26 14:38:04 +03:00
Vladimir Serbinenko
5412028d19
Avoid causing kernel oops in nilfs2 test.
...
1024-byte and 2048-byte blocks don't really work with some kernels, skip
them as we don't want any oops'es.
2017-02-03 00:34:07 +01:00
Vladimir Serbinenko
c65d35b08b
btrfs: Shorten label by one character.
...
mkfs.btrfs imposes a slightly lower limit than would be possible in btrfs.
2017-02-03 00:30:29 +01:00
Vladimir Serbinenko
a5bd52990e
grub-fs-tester: Fix mkudffs invocation.
...
With current invocation order of arguments is wrong and path is hardcoded.
2017-02-02 23:32:38 +01:00
Vladimir Serbinenko
1d4e3db907
grub-fs-tester: Fix fat test.
...
mkfs.vfat ignores -S when invoked on a disk, including loopback device,
so do an mkfs on underlying image.
2017-02-02 23:19:00 +01:00
Vladimir Serbinenko
afa9dda37e
grub-fs-tester: Delete directory once we're done.
2017-01-27 18:00:40 +00:00
Vladimir Serbinenko
cde63a3bb0
grub-fs-tester: Accomodate for slower systems.
...
fstime can be more different with xz squashfs.
Allow difference up to 3 seconds.
This code is ugly now but rewriting it now is not on the
table.
2017-01-27 17:58:15 +00:00
Vladimir Serbinenko
bf0e59cebf
grub-fs-tester: Accomodate for testing in proot containers.
...
proot creates hidden files with .proot prefix and name
derived from real file name. So decrease file name length
and path depth. For some reason depth 85 also results in
undeleteable directory, so use 84 instead of 85.
2017-01-27 17:46:47 +00:00
Michael Marineau
286f1b63df
Merge branch 'master' of git://git.savannah.gnu.org/grub
2015-12-17 12:01:00 -08:00
Vladimir Serbinenko
4656ced41c
fstester: Enforce LC_ALL=C
2015-11-08 22:39:36 +01:00
Michael Marineau
91391dc52b
Merge pull request #14 from coreos/gnu
...
Merge upstream GRUB changes
2015-08-13 13:32:56 -07:00
Michael Marineau
c7c750ecc2
Merge upstream changes as of April 29th
2015-07-31 15:41:48 -07:00
Vladimir Serbinenko
333855c646
zfs_test: Skip dotdot in volume root test.
...
Given special semantics of ZFS it's far from clear what the expected
result is. Just skip it for now
2015-07-24 01:23:45 +02:00
Vladimir Serbinenko
900fca88ac
xfs_test: Test both crc and non-crc filesystems.
2015-07-24 01:23:45 +02:00
Andrei Borzenkov
7af839a108
tests: regression tests for "." and ".." directory entries
2015-06-18 20:09:47 +03:00
Andrei Borzenkov
19c4156d16
grub-fs-tester: add LVM RAID1 support
...
LVM miscalculates bitmap size with small extent, so start with 16K as
for other RAID types.
Until version 2.02.103 LVM counts metadata segments twice when checking
available space, reduce segment count by one to account for this bug.
2015-03-19 21:31:26 +03:00
Andrei Borzenkov
7c9309e50a
grub-fs-tester: explicitly set segment type for LVM mirror
...
LVM mirror defaults to RAID1 today and can be different on different
systems as set in lvm.conf.
2015-03-16 21:16:19 +03:00
Andrei Borzenkov
fa07d919d1
grub-fs-tester: better estimation of filesystem time for LVM/RAID
...
Write activity with LVM/RAID can happen after filesystem is unmounted.
In my testing modification time of loop files was 15 - 20 seconds
after unmount. So use time as close to unmount as possible as
reference instead.
2015-03-15 21:24:09 +03:00
Vladimir Serbinenko
e20aa39ea4
ext2: Support META_BG.
...
This fixes bug that system would become unbootable after ext*
online resize if no resize_inode was created at ext* format time.
2015-02-16 20:53:26 +01:00
Michael Marineau
b97f2fa47e
Merge pull request #6 from coreos/gnu
...
Merge upstream GRUB changes
2014-11-23 17:58:18 -07:00
Andrei Borzenkov
e2dd6daa8c
grub-fs-tester: consistently print output of grub ls if test fails
2014-11-20 20:56:51 +03:00
Michael Marineau
e726b8b78d
tests: fix path to words file on Gentoo/CoreOS
...
By default there isn't a linux.words file, but there is words.
2014-10-19 20:44:34 -07:00
Colin Watson
fc3f2b72cd
* tests/util/grub-fs-tester.in: Execute xorriso from $PATH rather
...
than hardcoding /usr/local/bin/xorriso.
2013-11-26 23:51:48 +00:00
Vladimir Serbinenko
7d44ff7de6
Add automated filesystem checking based on scripts I've used now for
...
quite some time locally. Most of the test require root so they are
skipped when run without necessarry privelegies.
2013-11-19 21:05:59 +01:00