summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/config1
-rwxr-xr-xtest/runtests.sh4
2 files changed, 3 insertions, 2 deletions
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"