test: don't call ldconfig with -- path separator

Harald Hoyer 2016-06-29 15:11:39 +02:00
parent 53e4ab7174
commit 55712f46c0
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ test_setup() {
find_binary plymouth >/dev/null && inst_multiple plymouth find_binary plymouth >/dev/null && inst_multiple plymouth
(cd "$initdir"; mkdir -p -- dev sys proc etc var/run tmp ) (cd "$initdir"; mkdir -p -- dev sys proc etc var/run tmp )
cp -a -- /etc/ld.so.conf* "$initdir"/etc 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 python create.py -d -c livecd-fedora-minimal.ks
return 0 return 0

View File

@ -222,7 +222,7 @@ test_setup() {
inst /etc/group /etc/group inst /etc/group /etc/group


cp -a -- /etc/ld.so.conf* "$initdir"/etc cp -a -- /etc/ld.so.conf* "$initdir"/etc
sudo ldconfig -r -- "$initdir" sudo ldconfig -r "$initdir"
dracut_kernel_post dracut_kernel_post
) )