aboutsummaryrefslogtreecommitdiff
path: root/testcreate.sh
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-07-02 14:47:46 -0400
committerFranklin Wei <me@fwei.tk>2018-07-02 14:47:46 -0400
commit0c51f1ee4f2fb9178cf3efc25f4b91c2e08b2c87 (patch)
tree7a44c3e9996dc76a95ad90758edf26efc495b37b /testcreate.sh
parent4d780768c7fd6378b30ef5a1fee348b2c925b20d (diff)
downloadcsaa-0c51f1ee4f2fb9178cf3efc25f4b91c2e08b2c87.zip
csaa-0c51f1ee4f2fb9178cf3efc25f4b91c2e08b2c87.tar.gz
csaa-0c51f1ee4f2fb9178cf3efc25f4b91c2e08b2c87.tar.bz2
csaa-0c51f1ee4f2fb9178cf3efc25f4b91c2e08b2c87.tar.xz
Fix test scripts
Fixes issue where dummy script wouldn't actually do anything.
Diffstat (limited to 'testcreate.sh')
-rwxr-xr-xtestcreate.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/testcreate.sh b/testcreate.sh
index 93fc617..dd4e875 100755
--- a/testcreate.sh
+++ b/testcreate.sh
@@ -3,4 +3,8 @@ echo "Create:"
for i in $(seq 1 100)
do
$1 -u 1 -k a create > /dev/null
+ if [[ $? -ne 0 ]]
+ then
+ echo "Request failed!"
+ fi
done