]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
tests: have "make testnew" target use local mke2fs
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 19 Mar 2012 03:48:45 +0000 (23:48 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 19 Mar 2012 03:48:45 +0000 (23:48 -0400)
The "make testnew" target in the tests/ subdirectory (used to
help create new test cases) should use the locally-built mke2fs
binary instead of the installed system binary, to avoid cases
where the system binary does not support some new functionality
being tested.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/Makefile.in

index 148813e95bdb498a8cbda473395e8af7e206ed64..9dd10340157b4a9eddbac4c883c1684930211d26 100644 (file)
@@ -46,7 +46,7 @@ testnew:
        @echo "Creating a new e2fsck testcase in ${TDIR}"
        @mkdir -p ${TDIR}
        dd if=/dev/zero of=${TDIR}/image bs=1k count=8k
-       mke2fs -j -F -N 256 ${TDIR}/image
+       $(top_srcdir)/misc/mke2fs -j -F -N 256 ${TDIR}/image
        @echo "new test description" > ${TDIR}/name
        @echo; echo; echo "New test filesystem at ${TDIR}/image."
        @echo "Now, break the filesystem as appropriate, and run 'make testend'"