aboutsummaryrefslogtreecommitdiff
path: root/tests/rep-auth.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/rep-auth.testscript
parentf9cef3e7cebc66605e12a784c2439708650c6f19 (diff)
Use [cmdline] type for canned commands in testscripts
Diffstat (limited to 'tests/rep-auth.testscript')
-rw-r--r--tests/rep-auth.testscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rep-auth.testscript b/tests/rep-auth.testscript
index ee86327..5d51857 100644
--- a/tests/rep-auth.testscript
+++ b/tests/rep-auth.testscript
@@ -24,7 +24,7 @@
# Prepare repositories used by tests if running in the local mode.
#
+if! $remote
- rc = $rep_create 2>!
+ rc = [cmdline] $rep_create 2>!
# Create the 'unsigned1' repository.
#
@@ -128,8 +128,8 @@ rep_fetch += -d cfg
# Check if rep-fetch command was successfull or not.
#
-fetched = $pkg_status foo >'foo available 1'
-not_fetched = $pkg_status foo >'foo unknown'
+fetched = [cmdline] $pkg_status foo >'foo available 1'
+not_fetched = [cmdline] $pkg_status foo >'foo unknown'
sc = " " # Space character to append to here-document line when required.