]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
tests: fix i_e2image so it works with valgrind
authorTheodore Ts'o <tytso@mit.edu>
Sat, 3 Sep 2011 13:44:42 +0000 (09:44 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 3 Sep 2011 14:02:34 +0000 (10:02 -0400)
commitf305fd7f0c65391819f9813512714c932965a842
treecab6d267b9d3ee351b9c0a2359b25192d7ed6b5c
parentdd62d856062b184bcf8ea8a050bfb00fee0a92e3
tests: fix i_e2image so it works with valgrind

Since e2image can be optionally compiled out, we tested to see if
e2image was built; but using "test -x $E2IMAGE" fails if e2image is
something like "valgrind --simhints=lax-ioctls ../misc/e2image".
Define and use $E2IMAGE_EXE, much like we have done with e2undo and
resize2fs.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
tests/i_e2image/script
tests/test_config