]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
test: don't call ldconfig with -- path separator
authorHarald Hoyer <harald@redhat.com>
Wed, 29 Jun 2016 13:11:39 +0000 (15:11 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 29 Jun 2016 13:11:39 +0000 (15:11 +0200)
test/TEST-16-DMSQUASH/test.sh
test/TEST-50-MULTINIC/test.sh

index c08a2a419505cfcba30c54ad94ca1f27f91e017a..9d584e39d4d8ae067a17c4f55499f77a6d7027bd 100755 (executable)
@@ -69,7 +69,7 @@ test_setup() {
        find_binary plymouth >/dev/null && inst_multiple plymouth
        (cd "$initdir"; mkdir -p -- dev sys proc etc var/run tmp )
        cp -a -- /etc/ld.so.conf* "$initdir"/etc
-       sudo ldconfig -r -- "$initdir"
+       sudo ldconfig -r "$initdir"
     )
     python create.py -d -c livecd-fedora-minimal.ks
     return 0
index c0c3615fe574414af3c6070e90b8f886f876c07f..05273be7e597fb744e2a091e0981994881a03d72 100755 (executable)
@@ -222,7 +222,7 @@ test_setup() {
         inst /etc/group /etc/group
 
         cp -a -- /etc/ld.so.conf* "$initdir"/etc
-        sudo ldconfig -r -- "$initdir"
+        sudo ldconfig -r "$initdir"
         dracut_kernel_post
     )