From 54dce2b58b77dd8a5ff7c20a27b4bdbfec1c6e46 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 16 Mar 2017 15:53:20 +0300 Subject: Make use of >! redirect in testscripts --- tests/rep-auth.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/rep-auth.test') diff --git a/tests/rep-auth.test b/tests/rep-auth.test index 80e98de..b2331aa 100644 --- a/tests/rep-auth.test +++ b/tests/rep-auth.test @@ -25,7 +25,7 @@ # Prepare repositories used by tests if running in the local mode. # +if ($remote != true) - rc = $rep_create 2>- + rc = $rep_create 2>! # Create the 'unsigned1' repository. # @@ -82,7 +82,7 @@ end pkg_status += -d cfg -rep_add += -d cfg 2>- +rep_add += -d cfg 2>! rep_fetch += -d cfg # Check if rep-fetch command was successfull or not. @@ -101,7 +101,7 @@ sc = " " # Space character to append to here-document line when required. +mkdir 1/ +cp -r $src/unsigned $r +cat <<<$cert_manifest >+$r/repositories - +$rep_create --key $key $r &$r/packages &$r/signature 2>- + +$rep_create --key $key $r &$r/packages &$r/signature 2>! : rep-fetch : -- cgit v1.1