projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add parsing tests for get, set and show
[project/uci.git]
/
test
/
tests.sh
diff --git
a/test/tests.sh
b/test/tests.sh
index
52f1384
..
ae064f1
100644
(file)
--- a/
test/tests.sh
+++ b/
test/tests.sh
@@
-40,6
+40,12
@@
assertSameFile() {
echo "----"
}
}
+assertFailWithNoReturn() {
+ local test="$1"
+ value=$( $test )
+ assertFalse "'$test' does not fail" $?
+ assertNull "'$test' returns '$value'" "$value"
+}
EOF
for suite in $(ls ${SCRIPTS_DIR}/*)