]> git.proxmox.com Git - pve-container.git/blob - src/test/Makefile
tests: fix lxc-usernsexec invocation for uid != gid
[pve-container.git] / src / test / Makefile
1 RUN_USERNS := lxc-usernsexec -m "u:0:`id -u`:1" -m "g:0:`id -g`:1" --
2
3 all: test
4
5 test: test_setup test_snapshot test_bindmount
6
7 test_setup: run_setup_tests.pl
8 $(RUN_USERNS) ./run_setup_tests.pl
9
10 test_snapshot: run_snapshot_tests.pl
11 ./run_snapshot_tests.pl
12
13 test_bindmount: bindmount_test.pl
14 $(RUN_USERNS) ./bindmount_test.pl
15
16 clean:
17 rm -rf tmprootfs