diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-07-21 18:51:33 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-07-21 18:51:33 +0200 |
commit | 59d9b7dfd24e53c205cff5a75057e218e781fd1a (patch) | |
tree | f80369d205401093804580e3f5f90f4a87909b10 /tests/buildtime/test-check_is_in.sh | |
parent | f711f60ecc63dddc8fb1d62fdb4dcfa3a08fa2e2 (diff) |
experimental test suite, with one test
Diffstat (limited to 'tests/buildtime/test-check_is_in.sh')
-rwxr-xr-x | tests/buildtime/test-check_is_in.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/buildtime/test-check_is_in.sh b/tests/buildtime/test-check_is_in.sh new file mode 100755 index 0000000..0d97361 --- /dev/null +++ b/tests/buildtime/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' |