Many files:
  Checked in e2fsprogs 1.06

diff --git a/tests/test_script.in b/tests/test_script.in
index 38a0f45..b06e905 100644
--- a/tests/test_script.in
+++ b/tests/test_script.in
@@ -14,9 +14,12 @@
 fi
 
 cmd_dir=$SRCDIR
-TMPFILE=./test.img
 
-. $SRCDIR/test_config
+if test "$TEST_CONFIG"x = x; then
+	TEST_CONFIG=$SRCDIR/test_config
+fi
+
+. $TEST_CONFIG
 
 for test_dir in $TESTS
 do