diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-01-30 20:50:18 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-01-30 20:50:18 +0100 |
commit | 3b3c80db30af556d5da7301037bf16782216d0bd (patch) | |
tree | 8d4c5dac1a73e9a5bd0af4923982bc84566ffd24 /test/app-conf.bats | |
parent | a4215743db91c4b7050dfda32a670814a101b773 (diff) | |
download | app.sh-3b3c80db30af556d5da7301037bf16782216d0bd.tar.gz app.sh-3b3c80db30af556d5da7301037bf16782216d0bd.tar.bz2 app.sh-3b3c80db30af556d5da7301037bf16782216d0bd.tar.xz app.sh-3b3c80db30af556d5da7301037bf16782216d0bd.zip |
bin/app-init:
o Adding -p to mkdir so parent directories are created.
libexec/app-resolver-maven:
o Not using command expansion to make sure "set -e" works as normal.
o Adding a basic check that xmlstartlet has a useful output.
Diffstat (limited to 'test/app-conf.bats')
-rwxr-xr-x | test/app-conf.bats | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/app-conf.bats b/test/app-conf.bats index f85dbab..e805ff3 100755 --- a/test/app-conf.bats +++ b/test/app-conf.bats @@ -15,21 +15,25 @@ setup_inner() { eq '$status' 0 eq '${#lines[*]}' 0 - app conf set g.foo bar; echo_lines + app conf set g.FOO bar; echo_lines eq '$status' 0 app conf; echo_lines eq '$status' 0 eq '${lines[0]}' "app.bin bin/app-a " - eq '${lines[1]}' "g.foo bar " + eq '${lines[1]}' "g.FOO bar " eq '${#lines[*]}' 2 - app conf get g.foo; echo_lines + app conf get g.FOO; echo_lines eq '$status' 0 eq '${lines[0]}' "bar" eq '${#lines[*]}' 1 - app conf delete g.foo; echo_lines + app conf get g.foo; echo_lines + eq '$status' 0 + eq '${#lines[*]}' 0 + + app conf delete g.FOO; echo_lines eq '$status' 0 app conf; echo_lines |