Section: perl
Priority: extra
Maintainer: Proxmox Support Team <support@proxmox.com>
-Build-Depends: debhelper (>= 7.0.50~), libpve-common-perl, libpve-guest-common-perl | libpve-common-perl (<= 4.0-89), libpve-storage-perl, pve-cluster (>= 4.0-8), libtest-mockmodule-perl, pve-doc-generator
+Build-Depends: debhelper (>= 7.0.50~), libpve-common-perl, libpve-guest-common-perl | libpve-common-perl (<= 4.0-89), libpve-storage-perl, pve-cluster (>= 4.0-8), libtest-mockmodule-perl, pve-doc-generator, lxc | lxc-pve
Standards-Version: 3.8.4
Package: pve-container
+RUN_USERNS := lxc-usernsexec -m "b:0:`id -u`:1" --
+
all:
test: test_setup test_snapshot test_bindmount
test_setup: run_setup_tests.pl
- ./run_setup_tests.pl
+ $(RUN_USERNS) ./run_setup_tests.pl
test_snapshot: run_snapshot_tests.pl
./run_snapshot_tests.pl
test_bindmount: bindmount_test.pl
- ./bindmount_test.pl
+ $(RUN_USERNS) ./bindmount_test.pl
clean:
rm -rf tmprootfs