summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Burschka2012-11-03 01:41:24 +0100
committerChristoph Burschka2012-11-03 01:41:24 +0100
commit9b643edc997df3ef57ca1b453383c83d223c062e (patch)
treec8711ab50a1e2566d7b9fe91c5749332a1dac9c8
parentMake test script independent of CWD. (diff)
downloadejabberd-auth-php-9b643edc997df3ef57ca1b453383c83d223c062e.tar.gz
Keep unsuccessful test output for debugging.
-rwxr-xr-xtests/test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test b/tests/test
index 72a72ad..01662c6 100755
--- a/tests/test
+++ b/tests/test
@@ -4,8 +4,8 @@ php $p/../main.php <$p/test.in>$p/test.out
if [ -z "$(diff $p/test.out $p/test.successful)" ]
then
echo "Test successful."
+ rm $p/test.in $p/test.out
else
echo "Test unsuccessful. Check activity logs."
fi
-rm $p/test.in $p/test.out \ No newline at end of file