tests: Ensure 'unshare' works before relying on it.
authorLudovic Courtès <ludo@gnu.org>
Thu, 9 May 2019 15:13:00 +0000 (17:13 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 9 May 2019 15:42:31 +0000 (17:42 +0200)
commit8deb65c37850bfca36429f3fe5239bd9236f969c
tree700a253b1398623c6c8ec976f4056b95d22273f3
parent18160c3408a6481f70e7f15afe5009edd2a731ae
tests: Ensure 'unshare' works before relying on it.

Fixes <https://bugs.gnu.org/35642>.
Reported by Josh Holland <josh@inv.alid.pw>.

* tests/guix-pack-relocatable.sh: Before invoking 'unshare' at the
bottom, add "if unshare -r true" condition.
* tests/guix-pack.sh: Likewise.
tests/guix-pack-relocatable.sh
tests/guix-pack.sh