diff options
Diffstat (limited to 'tests/test')
-rwxr-xr-x | tests/test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test b/tests/test new file mode 100755 index 0000000..4d68705 --- /dev/null +++ b/tests/test @@ -0,0 +1,10 @@ +php test.php > test.in +php ../main.php <test.in>test.out +if [ -z "$(diff test.out test.successful)" ] +then + echo "Test successful." +else + echo "Test unsuccessful. Check activity logs." +fi + +rm test.in test.out
\ No newline at end of file |