aboutsummaryrefslogtreecommitdiff
path: root/tests/common.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-07-07 20:02:31 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-07-07 20:02:31 +0300
commitfbcdab1afc8af7001ed2ade6bb972d559cd55553 (patch)
treeb28a1827d5e88ef23e0fb697a912fe025d7b9974 /tests/common.testscript
parentf9cef3e7cebc66605e12a784c2439708650c6f19 (diff)
Use [cmdline] type for canned commands in testscripts
Diffstat (limited to 'tests/common.testscript')
-rw-r--r--tests/common.testscript40
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/common.testscript b/tests/common.testscript
index 25671c6..17174d9 100644
--- a/tests/common.testscript
+++ b/tests/common.testscript
@@ -32,26 +32,26 @@ test.options += --default-options $options_guard \
# (for example, to make sure that configuration post-test state is valid and is
# as expected).
#
-cfg_create = $* cfg-create
-cfg_info = $* cfg-info
-cfg_link = $* cfg-link
-cfg_unlink = $* cfg-unlink
-pkg_build = $* pkg-build
-pkg_checkout = $* pkg-checkout
-pkg_configure = $* pkg-configure
-pkg_disfigure = $* pkg-disfigure
-pkg_drop = $* pkg-drop
-pkg_fetch = $* pkg-fetch
-pkg_purge = $* pkg-purge
-pkg_status = $* pkg-status
-pkg_unpack = $* pkg-unpack
-pkg_update = $* pkg-update
-rep_add = $* rep-add
-rep_create = $* rep-create
-rep_fetch = $* rep-fetch
-rep_info = $* rep-info
-rep_list = $* rep-list
-rep_remove = $* rep-remove
+cfg_create = [cmdline] $* cfg-create
+cfg_info = [cmdline] $* cfg-info
+cfg_link = [cmdline] $* cfg-link
+cfg_unlink = [cmdline] $* cfg-unlink
+pkg_build = [cmdline] $* pkg-build
+pkg_checkout = [cmdline] $* pkg-checkout
+pkg_configure = [cmdline] $* pkg-configure
+pkg_disfigure = [cmdline] $* pkg-disfigure
+pkg_drop = [cmdline] $* pkg-drop
+pkg_fetch = [cmdline] $* pkg-fetch
+pkg_purge = [cmdline] $* pkg-purge
+pkg_status = [cmdline] $* pkg-status
+pkg_unpack = [cmdline] $* pkg-unpack
+pkg_update = [cmdline] $* pkg-update
+rep_add = [cmdline] $* rep-add
+rep_create = [cmdline] $* rep-create
+rep_fetch = [cmdline] $* rep-fetch
+rep_info = [cmdline] $* rep-info
+rep_list = [cmdline] $* rep-list
+rep_remove = [cmdline] $* rep-remove
# All testscripts are named after bpkg commands, for example
# pkg-verify.testscript. So the testscript scope id is a name of the command