]> git.proxmox.com Git - pve-container.git/blob - src/test/Makefile
82e8967fbf1481886cde5535738cffcb1d5ce0a8
[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 test_idmap
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 test_idmap: run_idmap_tests.pl
17 ./run_idmap_tests.pl
18
19 clean:
20 rm -rf tmprootfs