Skip to content
Snippets Groups Projects
Commit caa85d68 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

TST: fix make test_misc

parent 0620fe4b
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,10 @@ test: easy-units ...@@ -56,7 +56,10 @@ test: easy-units
mvn test -X mvn test -X
test_misc: test_misc:
cd misc/bend_symlinks/ && /bin/bash -c /usr/bin/shunit2 test/test_suite.sh cd misc/bend_symlinks/ && ./bend_symlinks.sh -h && test/test_suite.sh | tee test_output
cat misc/bend_symlinks/test_output | grep "Ran 10 tests."
cat misc/bend_symlinks/test_output | grep "OK"
rm misc/bend_symlinks/test_output
clean: clean-antlr clean: clean-antlr
mvn clean mvn clean
......
...@@ -103,4 +103,4 @@ ...@@ -103,4 +103,4 @@
Run test suite with Run test suite with
$ shunit2 test/test_suite.sh $ ./test/test_suite.sh
#!/bin/bash
source ./src/utils.sh
source "./src/utils.sh"
set +o errexit set +o errexit
BEND=./bend_symlinks.sh BEND=./bend_symlinks.sh
FILE_SYSTEM_ROOT=test_dir/links FILE_SYSTEM_ROOT=test_dir/links
DATA_DIR=test_dir/original DATA_DIR=test_dir/original
...@@ -226,4 +227,4 @@ testSymlinkToSymlink () { ...@@ -226,4 +227,4 @@ testSymlinkToSymlink () {
} }
source shunit2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment