tests: Actually install the new binaries

I think since I landed a change to `--enable-new-name`, `/usr/bin/rpm-ostree`
became a symlink, and without the `-l` switch, rsync skips over them.

Hence, we have only been testing in vmcheck the old binaries, not new ones.
Oops.

Closes: #585
Approved by: jlebon
This commit is contained in:
Colin Walters 2017-01-19 13:21:14 -05:00 committed by Atomic Bot
parent 02166aeecd
commit d277205c13
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ fi
cd /ostree/repo/tmp
rm vmcheck -rf
ostree checkout $commit vmcheck --fsync=0
rsync -rv /var/roothome/sync/insttree/usr/ vmcheck/usr/
rsync -rlv /var/roothome/sync/insttree/usr/ vmcheck/usr/
ostree refs --delete vmcheck || true
ostree commit -b vmcheck -s '' --tree=dir=vmcheck --link-checkout-speedup
ostree admin deploy vmcheck

View File

@ -26,7 +26,7 @@ else
# then do this in the VM
set -x
ostree admin unlock || :
rsync -rv /var/roothome/sync/insttree/usr/ /usr/
rsync -rlv /var/roothome/sync/insttree/usr/ /usr/
restorecon /usr/libexec/rpm-ostreed
systemctl restart rpm-ostreed
fi