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

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