aboutsummaryrefslogtreecommitdiff
path: root/tests/publish
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-09-23 13:13:05 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-09-24 19:09:39 +0300
commit15514b1013a22977a451c64b6df229414a9dde6b (patch)
treec15fe9a45fe06403944b642314bf80d8349b439d /tests/publish
parent0d0d607e3f2582afb708642b98f2d75568b51326 (diff)
Add package-archive.bash public module
Diffstat (limited to 'tests/publish')
-rw-r--r--tests/publish/buildfile8
-rw-r--r--tests/publish/testscript8
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/publish/buildfile b/tests/publish/buildfile
new file mode 100644
index 0000000..4cc1bd0
--- /dev/null
+++ b/tests/publish/buildfile
@@ -0,0 +1,8 @@
+# file : tests/publish/buildfile
+# license : MIT; see accompanying LICENSE file
+
+import publish = bpkg-rep%exe{bpkg-rep-publish}
+
+./: testscript $publish
+
+testscript@./: test = $publish
diff --git a/tests/publish/testscript b/tests/publish/testscript
new file mode 100644
index 0000000..2d3fb4c
--- /dev/null
+++ b/tests/publish/testscript
@@ -0,0 +1,8 @@
+# file : tests/publish/testscript
+# license : MIT; see accompanying LICENSE file
+
+: args
+:
+{
+ $* 2>~"/usage: .+/" != 0 : no-args
+}