Adds a unit test framework based on shunit2
[project/uci.git] / test / tests.d / 000_import
diff --git a/test/tests.d/000_import b/test/tests.d/000_import
new file mode 100644 (file)
index 0000000..a8a250c
--- /dev/null
@@ -0,0 +1,5 @@
+test_import ()
+{
+       ${UCI} import < ${REF_DIR}/import.data
+       assertSameFile ${REF_DIR}/import.result ${CONFIG_DIR}/import
+}