travis: run unionfs tests in a new mount namespace

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2019-05-16 11:37:17 +02:00
parent 891ba88f23
commit 1bf811f672
No known key found for this signature in database
GPG Key ID: E4730F97F60286ED

View File

@ -29,7 +29,7 @@ script:
- ./configure || travis_terminate 1; - ./configure || travis_terminate 1;
- make -j $(nproc) || travis_terminate 1; - make -j $(nproc) || travis_terminate 1;
- sudo make -j install; sudo cp fuse-overlayfs /sbin || travis_terminate 1; - sudo make -j install; sudo cp fuse-overlayfs /sbin || travis_terminate 1;
- (cd /unionmount-testsuite; sudo ./run --ov --fuse=fuse-overlayfs --xdev) || travis_terminate 1; - (cd /unionmount-testsuite; sudo unshare -m ./run --ov --fuse=fuse-overlayfs --xdev) || travis_terminate 1;
- (cd /unionmount-testsuite; FUSE_OVERLAYFS_DISABLE_OVL_WHITEOUT=1 sudo -E ./run --ov --fuse=fuse-overlayfs --xdev) || travis_terminate 1; - (cd /unionmount-testsuite; sudo FUSE_OVERLAYFS_DISABLE_OVL_WHITEOUT=1 unshare -m ./run --ov --fuse=fuse-overlayfs --xdev) || travis_terminate 1;
- sudo tests/fedora-installs.sh || travis_terminate 1; - sudo tests/fedora-installs.sh || travis_terminate 1;
- sudo tests/unlink.sh || travis_terminate 1; - sudo tests/unlink.sh || travis_terminate 1;