diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-10-27 23:30:49 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-10-27 23:30:49 +0100 |
commit | e694d9024cddf4dd54efd828927e3fd5e70b6c3a (patch) | |
tree | dcefc5f39fc837736b9822b7446d2b6eb4e6f802 /test/X-help.bats | |
parent | 38d7ffca0b591694c17509d20c8bf55606e60536 (diff) | |
download | app.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-x | test/X-help.bats | 17 |
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 ] -} |