aboutsummaryrefslogtreecommitdiffstats
path: root/runtests
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-08-14 08:58:50 -0400
committerDave Reisner <dreisner@archlinux.org>2012-08-14 08:58:50 -0400
commit4382c2acf0a893eb4b96c3465af73523560a4815 (patch)
tree635bd8f5235999e8786860ae358cbb546e1af90a /runtests
parent33d2495f66f052377794473bc58ce60e79a9be34 (diff)
downloadmirror-ponymix-4382c2acf0a893eb4b96c3465af73523560a4815.tar.gz
mirror-ponymix-4382c2acf0a893eb4b96c3465af73523560a4815.tar.bz2
mirror-ponymix-4382c2acf0a893eb4b96c3465af73523560a4815.zip
This repo is now about ponies.
Diffstat (limited to 'runtests')
-rwxr-xr-xruntests12
1 files changed, 6 insertions, 6 deletions
diff --git a/runtests b/runtests
index 747c5bf..a0762cb 100755
--- a/runtests
+++ b/runtests
@@ -1,14 +1,14 @@
#!/bin/bash
-pulsemix=$1
+ponymix=$1
-if [[ -z $pulsemix ]]; then
- printf 'usage: %s path-to-pulsemix\n' "${0##*/}"
+if [[ -z $ponymix ]]; then
+ printf 'usage: %s path-to-ponymix\n' "${0##*/}"
exit 1
fi
-if [[ ! -x $pulsemix ]]; then
- printf '==> ERROR: pulsemix binary not found at %s\n' "$pulsemix"
+if [[ ! -x $ponymix ]]; then
+ printf '==> ERROR: ponymix binary not found at %s\n' "$ponymix"
exit 1
fi
@@ -19,7 +19,7 @@ do_test() {
(( ++testno ))
- result=$("$pulsemix" "$verb" -- ${arg+"$arg"} 2>/dev/null)
+ result=$("$ponymix" "$verb" -- ${arg+"$arg"} 2>/dev/null)
if [[ $result != $expected ]]; then
printf '==> test %d FAIL: expected %s, got %s\n' "$testno" "$expected" "$result"
(( ++fail ))