aboutsummaryrefslogtreecommitdiff
path: root/test/X-help.bats
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-10-27 23:30:49 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-10-27 23:30:49 +0100
commite694d9024cddf4dd54efd828927e3fd5e70b6c3a (patch)
treedcefc5f39fc837736b9822b7446d2b6eb4e6f802 /test/X-help.bats
parent38d7ffca0b591694c17509d20c8bf55606e60536 (diff)
downloadapp.sh-e694d9024cddf4dd54efd828927e3fd5e70b6c3a.tar.gz
app.sh-e694d9024cddf4dd54efd828927e3fd5e70b6c3a.tar.bz2
app.sh-e694d9024cddf4dd54efd828927e3fd5e70b6c3a.tar.xz
app.sh-e694d9024cddf4dd54efd828927e3fd5e70b6c3a.zip
o Removing all old code (X files).
o Making sure APPSH_HOME is 1) exported and, 2) always prepended to $PATH. o More documentation on what a zip file actually looks like and how to create hooks.
Diffstat (limited to 'test/X-help.bats')
-rwxr-xr-xtest/X-help.bats17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/X-help.bats b/test/X-help.bats
deleted file mode 100755
index eba4eeb..0000000
--- a/test/X-help.bats
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env bats
-# vim: set filetype=sh:
-
-load utils
-
-@test "./app" {
- app; echo_lines
- [ $status -eq $exit_usage_wrong ]
- [ $(expr "${lines[0]}" : "usage: ./app .*") -ne 0 ]
-}
-
-@test "./app foo" {
- app foo; echo_lines
- [ $status -eq $exit_usage_wrong ]
- [ "${lines[0]}" = "Error: No such method group: foo" ]
- [ $(expr "${lines[1]}" : "usage: ./app .*") -ne 0 ]
-}