aboutsummaryrefslogtreecommitdiffstats
path: root/runtests
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-08-13 22:22:24 -0400
committerDave Reisner <dreisner@archlinux.org>2012-08-13 22:22:24 -0400
commit9c8cee7a55619f842a13028a7ce58e60dcc9ea5a (patch)
tree3879df074e4418fa5b3d656bd76f07c736d2cd26 /runtests
parent2d285f37b8c9ef785d6697b5ed374607bd420618 (diff)
downloadmirror-ponymix-9c8cee7a55619f842a13028a7ce58e60dcc9ea5a.tar.gz
mirror-ponymix-9c8cee7a55619f842a13028a7ce58e60dcc9ea5a.tar.bz2
mirror-ponymix-9c8cee7a55619f842a13028a7ce58e60dcc9ea5a.zip
use a static array and loop to validate actions
Diffstat (limited to 'runtests')
-rwxr-xr-xruntests4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtests b/runtests
index b2fb861..f5d523f 100755
--- a/runtests
+++ b/runtests
@@ -28,6 +28,10 @@ do_test() {
fi
}
+# strictly invalid
+do_test '' 'herp'
+do_test '' 'derp' 100
+
# volume
do_test 50 'set-volume' 50
do_test 10 'decrease' 40