search for: e2fs_uuid_not_supported

Displaying 1 result from an estimated 1 matches for "e2fs_uuid_not_supported".

2009 Aug 19
1
[PATCH] tests: Conditionally skip UUID tests.
...x 71928ec..a0cd44a 100644 --- a/capitests/Makefile.am +++ b/capitests/Makefile.am @@ -27,6 +27,9 @@ tests_SOURCES = tests.c tests_CFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src -Wall tests_LDADD = $(top_builddir)/src/libguestfs.la +# Old version of e2fsprogs which didn't support UUIDs? +e2fs_uuid_not_supported := $(shell r=1; if test -x ../initramfs/sbin/mkswap; then if ../initramfs/sbin/mkswap --help 2>&1 | grep -sq -- -U; then r=0; fi; fi; echo $$r) + TESTS = tests TESTS_ENVIRONMENT = \ SKIP_TEST_COMMAND=$(shell ldd test-command | grep -sq 'not a dynamic executable' || echo 1) \ @@ -...