]> pilppa.org Git - uci.git/blobdiff - test/tests.d/060-ucimap_example
turn ucimap-example.c into a test case
[uci.git] / test / tests.d / 060-ucimap_example
diff --git a/test/tests.d/060-ucimap_example b/test/tests.d/060-ucimap_example
new file mode 100644 (file)
index 0000000..c517637
--- /dev/null
@@ -0,0 +1,5 @@
+test_ucimap_example()
+{
+       ( cd ..; ./ucimap-example ) > "${TMP_DIR}/ucimap_example.result"
+       assertSameFile "${TMP_DIR}/ucimap_example.result" "${REF_DIR}/ucimap_example.result"
+}