Vladimir Serbinenko
db5eb6225d
grub-shell: Use new cbfstool syntax.
2016-01-07 15:55:45 +01:00
Vladimir Serbinenko
44876dd64e
grub-shell: On i386-ieee1275 don't try to switch to console.
...
console goes to serial as well, so this doesn't stop garbage from going
to serial. But it creates garbage itself.
2016-01-07 15:54:42 +01:00
Vladimir Serbinenko
86e3b4ba1a
hddboot_test: reenable on OVMF
...
OVMF now supports booting from disks.
2016-01-07 15:54:06 +01:00
Vladimir Serbinenko
9f8f9e62af
minixfs_test: Check if mkfs.minixfs supports -B option.
2016-01-05 21:10:27 +01:00
Vladimir Serbinenko
f86fd54cf0
Add memdisk support to grub-emu.
...
Use it to add custom files, so that tests which need them work.
2016-01-05 21:10:27 +01:00
Vladimir Serbinenko
f2b54835f2
Disable progress indicator in grub-shell.
...
This disables progress indicator for tests. This in turn fixes test
flakiness as they ended up timing-dependent.
2016-01-05 21:10:10 +01:00
Vladimir Serbinenko
4656ced41c
fstester: Enforce LC_ALL=C
2015-11-08 22:39:36 +01:00
Andrei Borzenkov
c054020581
partmap_test: check that parted is available
...
Skip test if parted is unavailable instead of returning false failure.
2015-11-07 23:42:35 +03: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
Vladimir Serbinenko
237510486a
fddboot_test: Add -no-pad to xorriso.
2015-03-20 12:58:08 +01: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
ddde9ca71a
grub-shell: Add missing --locale-directory.
...
Fixes the language tests is no make install was done.
2015-02-28 15:14:16 +01:00
Vladimir Serbinenko
050505ab8f
ntfs_test: Skip is setfattr is unavailable.
2015-02-28 15:13:41 +01: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
Andrei Borzenkov
35a492e4a2
tests: remove hardcoded paths from syslinux_test
...
abs_top_srcdir appeared in Autoconf 2.52f. Minimal grub requirement
is 2.60 so we should be good here.
2015-02-16 22:24:05 +03:00
Vladimir Serbinenko
d3d2e54911
Add test for syslinux converter
2015-02-16 15:58:59 +01:00
Andrei Borzenkov
1e047e53ae
tests: add test command file tests
...
This requires access to files in both host and grub image, so
implementing as separate test unit instead of script test was
more easy.
2015-01-30 21:42:46 +03:00
Andrei Borzenkov
f153fcb5a5
test: consistently use TMPDIR and same name pattern for temp files
2015-01-30 20:31:20 +03:00
Vladimir Serbinenko
8acb9dc697
* tests/file_filter/file: Really add missing file.
2015-01-23 19:46:02 +01:00
Andrei Borzenkov
272e0466da
add file filters tests
...
Tests file access with all filters enabled. It does it both for local
and network access, due to regression in signature checking over network.
This includes all files in distribution to not depend on existence
of compression tools and gpg. Test preloads all required modules to
avoid having to provide signatures for them.
Still not implemented is file offset filter (is not available in grub
script, needs extra module)
2014-12-05 21:04:06 +03:00
Andrei Borzenkov
4b94e3227b
grub-shell: support --files also for net boot
...
This allows running tests that require extra files using netboot as well.
2014-12-05 19:55:59 +03:00
Andrei Borzenkov
e2dd6daa8c
grub-fs-tester: consistently print output of grub ls if test fails
2014-11-20 20:56:51 +03:00
Vladimir Serbinenko
636977b089
Mark strings for translation and add remaining ones to exclude list.
2013-12-18 06:50:24 +01:00
Colin Watson
3a82f8bb48
Fix grub-shell to avoid breaking "make distcheck"
...
Copying the themes directory in grub-shell isn't
parallel-test-friendly and breaks on the second test when the source
directory is read-only (as in "make distcheck"). Instead, add a
hidden --themes-directory option to grub-mkrescue et al, and use it
in grub-shell.
2013-12-04 13:36:34 +00: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
Vladimir Serbinenko
2d6a38fbf7
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub
2013-11-18 17:46:15 +01:00
Vladimir Serbinenko
bb2b275b7d
* tests/grub_func_test.in: Decrease RAM size to 512M. With less
...
fragmentation 512M is enough.
2013-11-18 17:42:54 +01:00
Colin Watson
60870be86c
* tests/gzcompress_test.in: Skip if gzip is not installed (unlikely,
...
but for symmetry).
* tests/lzocompress_test.in: Skip if lzop is not installed.
* tests/xzcompress_test.in: Skip if xz is not installed.
2013-11-18 16:16:33 +00:00
Vladimir Serbinenko
efb8de492a
* tests/util/grub-shell.in: Increase console size to 1024x1024.
2013-11-18 16:32:22 +01:00
Colin Watson
1e8e2e78a5
* tests/util/grub-shell.in: Don't fail on emu platform if po/*.gmo
...
files have not been built.
2013-11-18 14:02:11 +00:00
Vladimir Serbinenko
35c2851cc1
* tests/util/grub-shell.in: Use -cdrom and don't force cdrom
...
on primary master on pseries.
2013-11-18 14:40:41 +01:00
Vladimir Serbinenko
256ee7ac6a
* tests/util/grub-shell.in: For powerpc tests put the CD-ROM as primary
...
master since with some combinations of qemu and firmware only primary
IDE channel is available.
2013-11-18 11:51:46 +01:00
Vladimir Serbinenko
77dae919b6
* tests/grub_func_test.in: Increase memory reservation as on EFI we need
...
to leave some memory to firmware.
2013-11-17 02:16:21 +01:00
Vladimir Serbinenko
b80c2d6d4b
* tests/core_compress_test.in: Use full arguments as grub-mkimage-extra
...
now needs full arguments.
2013-11-17 02:09:15 +01:00
Vladimir Serbinenko
889ebe922b
* tests/util/grub-shell.in: Use escc-ch-b on powerpc. This is missing
...
counterpart of fixing the naming of escc ports.
2013-11-17 00:57:54 +01:00
Vladimir Serbinenko
cd46aa6cef
Rewrite grub-install, grub-mkrescue, grub-mkstandalone and grub-mknetdir
...
the function of these files exceeds what can be sanely handled in shell
in posix-comaptible way. Also writing it in C extends the functionality
to non-UNIX-like OS and minimal environments.
2013-11-16 20:21:16 +01:00
Vladimir Serbinenko
31747dd521
* grub-core/tests/gfxterm_menu.c (gfxterm_menu): Handle out-of-memory
...
condition.
* tests/grub_func_test.in: Increase memory allocation.
2013-11-12 00:44:00 +01:00
Vladimir Serbinenko
665c575b2a
* tests/util/grub-shell.in: Boot as hdd on ppc by default.
2013-11-08 05:22:36 +01:00
Vladimir Serbinenko
87a04a2df6
* tests/test_sha512sum.in: Make it work on emu.
2013-11-07 02:41:09 +01:00
Vladimir Serbinenko
8b3e6eb6b6
* tests/util/grub-shell.in: Copy themes.
2013-11-02 19:17:25 +01:00
BVK Chaitanya
1e6ad6a668
* tests/util/grub-shell.in: Add new --debug option.
2013-10-26 15:01:28 +02:00
BVK Chaitanya
188929ebee
* tests/test_unset.in: New test.
2013-10-26 14:52:54 +02:00
BVK Chaitanya
7994a09a9b
* tests/test_sha512sum.in: New test.
2013-10-26 14:35:35 +02:00
Vladimir Serbinenko
3d695d7b93
* tests/date_unit_test.c: New test.
2013-10-26 02:48:19 +02:00
Vladimir 'phcoder' Serbinenko
bbd2b5396b
* grub-core/kern/misc.c (grub_vsnprintf_real): Fix formatting of
...
"(null)" string.
Simplify expressions to save around 256 bytes in kernel.img.
* tests/printf_unit_test.c (printf_test): Add "(null)" tests.
2013-10-19 23:52:09 +02:00