Blame SOURCES/0409-test-don-t-call-ldconfig-with-path-separator.patch

a0a3b4
From 55712f46c06d782be7829b860e5009701fcb9da9 Mon Sep 17 00:00:00 2001
a0a3b4
From: Harald Hoyer <harald@redhat.com>
a0a3b4
Date: Wed, 29 Jun 2016 15:11:39 +0200
a0a3b4
Subject: [PATCH] test: don't call ldconfig with -- path separator
a0a3b4
a0a3b4
---
a0a3b4
 test/TEST-16-DMSQUASH/test.sh | 2 +-
a0a3b4
 test/TEST-50-MULTINIC/test.sh | 2 +-
a0a3b4
 2 files changed, 2 insertions(+), 2 deletions(-)
a0a3b4
a0a3b4
diff --git a/test/TEST-16-DMSQUASH/test.sh b/test/TEST-16-DMSQUASH/test.sh
a0a3b4
index c08a2a4..9d584e3 100755
a0a3b4
--- a/test/TEST-16-DMSQUASH/test.sh
a0a3b4
+++ b/test/TEST-16-DMSQUASH/test.sh
a0a3b4
@@ -69,7 +69,7 @@ test_setup() {
a0a3b4
 	find_binary plymouth >/dev/null && inst_multiple plymouth
a0a3b4
 	(cd "$initdir"; mkdir -p -- dev sys proc etc var/run tmp )
a0a3b4
 	cp -a -- /etc/ld.so.conf* "$initdir"/etc
a0a3b4
-	sudo ldconfig -r -- "$initdir"
a0a3b4
+	sudo ldconfig -r "$initdir"
a0a3b4
     )
a0a3b4
     python create.py -d -c livecd-fedora-minimal.ks
a0a3b4
     return 0
a0a3b4
diff --git a/test/TEST-50-MULTINIC/test.sh b/test/TEST-50-MULTINIC/test.sh
a0a3b4
index c0c3615..05273be 100755
a0a3b4
--- a/test/TEST-50-MULTINIC/test.sh
a0a3b4
+++ b/test/TEST-50-MULTINIC/test.sh
a0a3b4
@@ -222,7 +222,7 @@ test_setup() {
a0a3b4
         inst /etc/group /etc/group
a0a3b4
 
a0a3b4
         cp -a -- /etc/ld.so.conf* "$initdir"/etc
a0a3b4
-        sudo ldconfig -r -- "$initdir"
a0a3b4
+        sudo ldconfig -r "$initdir"
a0a3b4
         dracut_kernel_post
a0a3b4
     )
a0a3b4