Fully fixed up ll escaping, added lots of tests
This commit is contained in:
19
test.sh
19
test.sh
@@ -1,19 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Run SCM Breeze shUnit2 tests
|
||||
|
||||
failed=false
|
||||
|
||||
for test in $(find test/lib -name *_test.sh); do
|
||||
for shell in bash zsh; do
|
||||
echo "== Running tests with [$shell]: $test"
|
||||
$shell $test || failed=true
|
||||
done
|
||||
done
|
||||
|
||||
if [ "$failed" = "true" ]; then
|
||||
echo "Tests failed!"
|
||||
return 1;
|
||||
else
|
||||
echo "All tests passed!"
|
||||
return 0;
|
||||
fi
|
||||
Reference in New Issue
Block a user