aboutsummaryrefslogtreecommitdiff
path: root/tests/hook-file
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-01-05 11:40:43 +0000
committermerakor <cem@ckyln.com>2021-01-05 11:40:43 +0000
commit3df8f4bd03cc2d087c1abfb340e9d2949e2f91ad (patch)
tree24e1c5e95ed6ef76e287a525dee6f96807d03ae7 /tests/hook-file
parent95f2d2b36dbe54fbc3ca9e330553452cf7423705 (diff)
downloadcpt-3df8f4bd03cc2d087c1abfb340e9d2949e2f91ad.tar.gz
shellspec: add unit tests
FossilOrigin-Name: cc6f029081294c10be43ba51dedecb1997cc653215b587a566c0a527705162ab
Diffstat (limited to 'tests/hook-file')
-rw-r--r--tests/hook-file3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/hook-file b/tests/hook-file
new file mode 100644
index 0000000..4b8a2ce
--- /dev/null
+++ b/tests/hook-file
@@ -0,0 +1,3 @@
+# -*- mode: sh -*-
+# This a test hook file that only returns back the $TYPE, $PKG, and $DEST
+out "$CPT_HOOK $TYPE $PKG $DEST"