aboutsummaryrefslogtreecommitdiff
path: root/test/X-app-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-app-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-app-help.bats')
-rwxr-xr-xtest/X-app-help.bats38
1 files changed, 0 insertions, 38 deletions
diff --git a/test/X-app-help.bats b/test/X-app-help.bats
deleted file mode 100755
index 4b94f23..0000000
--- a/test/X-app-help.bats
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/env bats
-# vim: set filetype=sh:
-
-load utils
-
-@test "./app instance" {
- app instance; echo_lines
- [ $status -eq $exit_usage_wrong ]
- [ $(expr "${lines[0]}" : "usage: ./app instance .*") -ne 0 ]
- [ ${#lines[*]} == 6 ]
-}
-
-@test "./app instance install" {
- app instance install; echo_lines
- [ $status -eq $exit_usage ]
- [ $(expr "${lines[0]}" : "usage: install .*") -ne 0 ]
- [ ${#lines[*]} == 6 ]
-}
-
-@test "./app instance list" {
- app instance list; echo_lines
- [ $status -eq 0 ]
- [ ${#lines[*]} == 0 ]
-}
-
-@test "./app instance list-versions" {
- app instance list-versions; echo_lines
- [ $status -eq $exit_usage ]
- [ $(expr "${lines[0]}" : "usage: list-versions .*") -ne 0 ]
- [ ${#lines[*]} == 1 ]
-}
-
-@test "./app instance set-current" {
- app instance "set-current"; echo_lines
- [ $status -eq $exit_usage ]
- [ $(expr "${lines[0]}" : "usage: set-current .*") -ne 0 ]
- [ ${#lines[*]} == 1 ]
-}