diff options
author | Christoph Burschka | 2012-10-30 02:45:21 +0100 |
---|---|---|
committer | Christoph Burschka | 2012-10-30 02:45:21 +0100 |
commit | 7fc3addf1b2796998fe0350cd4c5d7513612b1ba (patch) | |
tree | da7b47008fc112e53aee5ab51b8a39f6be4f54f2 /tests/test | |
download | ejabberd-auth-php-7fc3addf1b2796998fe0350cd4c5d7513612b1ba.tar.gz |
Initial checkin
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 |