diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-03-29 18:16:42 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-03-29 18:16:42 +0200 |
commit | ef2290b0e31c285267bba9dde3634b628df0ebf0 (patch) | |
tree | de627bb47c87f535ad7eea5d7b3da9bc2cbef3c7 /tests/test-check_is_in.sh | |
parent | 71f5510aaaa20ae5ae9c773dca12028bd96aafdf (diff) | |
parent | ff1bc0cd6060d0a23911f1ef25633f706a9af619 (diff) |
Merge branch 'experimental'2009.03.29
Diffstat (limited to 'tests/test-check_is_in.sh')
-rwxr-xr-x | tests/test-check_is_in.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test-check_is_in.sh b/tests/test-check_is_in.sh new file mode 100755 index 0000000..0d97361 --- /dev/null +++ b/tests/test-check_is_in.sh @@ -0,0 +1,7 @@ +basedir=$(dirname "`dirname $0`") +source $basedir/src/core/libs/lib-ui.sh #dependency needed +source $basedir/src/core/libs/lib-misc.sh + +vars=(A B C D E F) +check_is_in C "${vars[@]}" && echo 'ok C was in there' || echo 'wtf' +check_is_in AOEUAU "${vars[@]}" && echo wtf || echo 'ok it was not in there' |