Since they cannot run in a chroot. They'd need a
`pivot_root` environment instead.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
test: test_setup test_snapshot test_bindmount test_idmap
test_setup: run_setup_tests.pl
test: test_setup test_snapshot test_bindmount test_idmap
test_setup: run_setup_tests.pl
- $(RUN_USERNS) ./run_setup_tests.pl
+ if test -e /run/lock/sbuild; then \
+ echo skipping userns tests in sbuild environment ; \
+ else \
+ $(RUN_USERNS) ./run_setup_tests.pl ; \
+ fi
test_snapshot: run_snapshot_tests.pl
./run_snapshot_tests.pl
test_bindmount: bindmount_test.pl
test_snapshot: run_snapshot_tests.pl
./run_snapshot_tests.pl
test_bindmount: bindmount_test.pl
- $(RUN_USERNS) ./bindmount_test.pl
+ if test -e /run/lock/sbuild; then \
+ echo skipping userns tests in sbuild environment ; \
+ else \
+ $(RUN_USERNS) ./bindmount_test.pl ; \
+ fi
test_idmap: run_idmap_tests.pl
./run_idmap_tests.pl
test_idmap: run_idmap_tests.pl
./run_idmap_tests.pl