aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndreas Kapp Lindquist <andkaplin05@gmail.com>2025-10-23 17:55:39 +0200
committermithe24 <mithe24@student.sdu.dk>2025-10-29 13:49:57 +0100
commitbb687ca28d9da1e161b8e382771fe919fa698b01 (patch)
tree59fd68fedd99ac4c67f60b62f91b644c84b84b8c /test
parent0ec400a4243356951a7096ea1d6534b582134f9f (diff)
downloadsorter-bb687ca28d9da1e161b8e382771fe919fa698b01.tar.gz
sorter-bb687ca28d9da1e161b8e382771fe919fa698b01.zip
test(test.sh): Moved to test folder
Diffstat (limited to '')
-rwxr-xr-xtest/test.sh (renamed from test.sh)4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.sh b/test/test.sh
index 8cf9240..c0dbe2b 100755
--- a/test.sh
+++ b/test/test.sh
@@ -2,7 +2,7 @@
DATA_DIR="data"
-SRC_DIR="src"
+SRC_DIR="../src"
SORTER="$SRC_DIR/sorter"
REF="sort -s -n -k 2" # '-s' for using a stable algo
@@ -13,7 +13,7 @@ failed=0
for TEST_FILE in "$DATA_DIR"/*; do
((total++))
FILE_NAME=$(basename "$TEST_FILE")
- DIFF_FILE="$FILE_NAME.diff"
+ DIFF_FILE="diff/$FILE_NAME.diff"
echo "Testing $FILE_NAME ..."