Fully fixed up ll escaping, added lots of tests

This commit is contained in:
Nathan Broadbent
2012-10-23 12:25:28 +13:00
parent 7c7aedce03
commit 5836617dbf
8 changed files with 65 additions and 32 deletions

19
run_tests.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/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