projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adds a unit test framework based on shunit2
[project/uci.git]
/
test
/
tests.d
/
010_export
diff --git a/test/tests.d/010_export
b/test/tests.d/010_export
new file mode 100644
(file)
index 0000000..
259f988
--- /dev/null
+++ b/
test/tests.d/010_export
@@ -0,0
+1,6
@@
+test_export ()
+{
+ cp ${REF_DIR}/export.data ${CONFIG_DIR}/export
+ ${UCI} export > ${TMP_DIR}/export.result
+ assertSameFile ${REF_DIR}/export.result ${TMP_DIR}/export.result
+}