summaryrefslogtreecommitdiff
path: root/tests/test_config
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-09-03 09:44:42 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-09-03 10:02:34 -0400
commitf305fd7f0c65391819f9813512714c932965a842 (patch)
treecab6d267b9d3ee351b9c0a2359b25192d7ed6b5c /tests/test_config
parentdd62d856062b184bcf8ea8a050bfb00fee0a92e3 (diff)
downloade2fsprogs-f305fd7f0c65391819f9813512714c932965a842.tar.gz
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>
Diffstat (limited to 'tests/test_config')
-rw-r--r--tests/test_config1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_config b/tests/test_config
index 2d85e030..b0e3ee69 100644
--- a/tests/test_config
+++ b/tests/test_config
@@ -10,6 +10,7 @@ TUNE2FS="$USE_VALGRIND ../misc/tune2fs"
CHATTR="$USE_VALGRIND../misc/chattr"
LSATTR="$USE_VALGRIND ../misc/lsattr"
E2IMAGE="$USE_VALGRIND ../misc/e2image"
+E2IMAGE_EXE="../misc/e2image"
DEBUGFS="$USE_VALGRIND ../debugfs/debugfs"
TEST_BITS="../debugfs/debugfs"
RESIZE2FS_EXE="../resize/resize2fs"