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>
@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'"