From fbcdab1afc8af7001ed2ade6bb972d559cd55553 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 7 Jul 2022 20:02:31 +0300 Subject: Use [cmdline] type for canned commands in testscripts --- tests/rep-auth.testscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/rep-auth.testscript') 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. -- cgit v1.1