diff options
Diffstat (limited to 'tests/test_macro_processor.sh')
-rwxr-xr-x | tests/test_macro_processor.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_macro_processor.sh b/tests/test_macro_processor.sh index 1a7accd..daee5d2 100755 --- a/tests/test_macro_processor.sh +++ b/tests/test_macro_processor.sh @@ -3,7 +3,7 @@ ALL_OUTPUT=0 test () { - file_content=$(<tests/input_files/$1) + file_content=$(<tests/smp/$1) readarray -t sections < <(awk -v RS="---" '{print}' <<< "$file_content") var1=$(echo "$file_content" | awk -v RS="\n---\n" 'NR==1') var2=$(echo "$file_content" | awk -v RS="\n---\n" 'NR==2') @@ -36,7 +36,7 @@ if [ "$#" -eq 1 ]; then ALL_OUTPUT=1 test $1 else - for file in tests/input_files/*; do + for file in tests/smp/*; do test "$(basename $file)" done fi |