summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--test/config1
-rwxr-xr-xtest/runtests.sh4
3 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 9784f0b..19c47d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -86,6 +86,7 @@
/test/teardowns
/test/timeout
/test/timeout-overflow
+/test/config.local
config-host.h
config-host.mak
diff --git a/test/config b/test/config
index fb66ee1..80a5f46 100644
--- a/test/config
+++ b/test/config
@@ -1,3 +1,4 @@
# Define raw test devices (or files) for test cases, if any
+# Copy this to config.local, and uncomment + define test files
#
# TEST_FILES="/dev/nvme0n1p2 /data/file"
diff --git a/test/runtests.sh b/test/runtests.sh
index e998a12..0aebac0 100755
--- a/test/runtests.sh
+++ b/test/runtests.sh
@@ -14,8 +14,8 @@ fi
TEST_DIR=$(dirname $0)
TEST_FILES=""
-if [ -f "$TEST_DIR/config" ]; then
- . $TEST_DIR/config
+if [ -f "$TEST_DIR/config.local" ]; then
+ . $TEST_DIR/config.local
for dev in $TEST_FILES; do
if [ ! -e "$dev" ]; then
echo "Test file $dev not valid"