aboutsummaryrefslogtreecommitdiff
path: root/tests/rep-auth.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-03-16 15:53:20 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-03-16 15:53:20 +0300
commit54dce2b58b77dd8a5ff7c20a27b4bdbfec1c6e46 (patch)
treea9420a208fc264901681ca7df61347f9b954e9a9 /tests/rep-auth.test
parenta791b1ce0fa2bc9859474fb6f7a9c0ff8cbd1d4a (diff)
Make use of >! redirect in testscripts
Diffstat (limited to 'tests/rep-auth.test')
-rw-r--r--tests/rep-auth.test6
1 files changed, 3 insertions, 3 deletions
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
: