tests/livefs: Make sure /usr/bin/ls is executable

Oh man was I confused how this happened; thought it was a bug in some livefs
changes I was working on.

Closes: #995
Approved by: jlebon
This commit is contained in:
Colin Walters 2017-09-15 12:53:56 -04:00 committed by Atomic Bot
parent cc4844ff02
commit 80de17623f

View File

@ -128,6 +128,7 @@ cd /ostree/repo/tmp
rm vmcheck -rf
ostree checkout vmcheck vmcheck --fsync=0
(cat vmcheck/usr/bin/ls; echo more stuff) > vmcheck/usr/bin/ls.new
chmod a+x vmcheck/usr/bin/ls.new
mv vmcheck/usr/bin/ls{.new,}
ostree commit -b vmcheck --tree=dir=vmcheck --link-checkout-speedup
rm vmcheck -rf