aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-12-20 21:20:58 +0000
committermerakor <cem@ckyln.com>2020-12-20 21:20:58 +0000
commit388586b7ceac1470e741b2967e5ba33c8d99ef7b (patch)
tree930378a33333b691920047348373fe424d0878ca
parent957dd999d5b9d56e29a355efeeb284b296a70b81 (diff)
downloadcpt-388586b7ceac1470e741b2967e5ba33c8d99ef7b.tar.gz
bin: add tests
FossilOrigin-Name: ec194605cd8c21140304faf47b67f419967b7606155d7afb0e6d9f83c7622d46
-rw-r--r--bin/test.do11
-rw-r--r--default.do2
2 files changed, 12 insertions, 1 deletions
diff --git a/bin/test.do b/bin/test.do
new file mode 100644
index 0000000..4794751
--- /dev/null
+++ b/bin/test.do
@@ -0,0 +1,11 @@
+. ../config.rc
+redo all
+exec >&2
+
+./cpt-readlink .
+./cpt-readlink ..
+./cpt-readlink /bin
+./cpt-stat /bin
+./cpt-stat cpt-readlink.o
+
+PHONY
diff --git a/default.do b/default.do
index 9407c6e..6e2d555 100644
--- a/default.do
+++ b/default.do
@@ -38,7 +38,7 @@ case "$1" in
mv "$1" "$3"
;;
test)
- redo src/test
+ redo src/test bin/test
;;
src/clean)
rm -f src/cpt-lib