diff options
author | netblue30 <netblue30@protonmail.com> | 2023-03-02 08:19:41 -0500 |
---|---|---|
committer | netblue30 <netblue30@protonmail.com> | 2023-03-02 08:19:41 -0500 |
commit | 91235785e06ac890514fd51fa44aa14e7c2e108e (patch) | |
tree | 5834f92126a508af41f65a0bf4fba96e46ccbd17 /Makefile | |
parent | appimage testing (diff) | |
download | firejail-91235785e06ac890514fd51fa44aa14e7c2e108e.tar.gz firejail-91235785e06ac890514fd51fa44aa14e7c2e108e.tar.zst firejail-91235785e06ac890514fd51fa44aa14e7c2e108e.zip |
network testing
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -372,7 +372,7 @@ $(TEST_TARGETS): | |||
372 | 372 | ||
373 | 373 | ||
374 | # extract some data about the testing setup: kernel, network connectivity, user | 374 | # extract some data about the testing setup: kernel, network connectivity, user |
375 | lab-setup:; uname -r; ldd --version | grep GLIBC; pwd; whoami; cat /etc/resolv.conf; cat /etc/hosts; ls /etc | 375 | lab-setup:; uname -r; ldd --version | grep GLIBC; pwd; whoami; ip addr show; cat /etc/resolv.conf; cat /etc/hosts; ls /etc |
376 | 376 | ||
377 | test: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-private-etc test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters | 377 | test: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-private-etc test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters |
378 | echo "TEST COMPLETE" | 378 | echo "TEST COMPLETE" |
@@ -384,10 +384,16 @@ test-noprofiles: lab-setup test-fcopy test-fnetfilter test-fs test-utils test-sy | |||
384 | test-appimage: | 384 | test-appimage: |
385 | $(MAKE) -C test $(subst test-,,$@) | 385 | $(MAKE) -C test $(subst test-,,$@) |
386 | 386 | ||
387 | # not included in "make dist" and "make test" | 387 | # using sudo; not included in "make dist" and "make test" |
388 | test-chroot: | 388 | test-chroot: |
389 | $(MAKE) -C test $(subst test-,,$@) | 389 | $(MAKE) -C test $(subst test-,,$@) |
390 | 390 | ||
391 | # using sudo; not included in "make dist" and "make test" | ||
392 | test-network: | ||
393 | $(MAKE) -C test $(subst test-,,$@) | ||
394 | |||
395 | |||
396 | |||
391 | # old gihub test; the new test is driven directly from .github/workflows/build.yml | 397 | # old gihub test; the new test is driven directly from .github/workflows/build.yml |
392 | test-github: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment | 398 | test-github: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment |
393 | echo "TEST COMPLETE" | 399 | echo "TEST COMPLETE" |
@@ -403,7 +409,5 @@ test-private-lib: | |||
403 | 409 | ||
404 | # Root access, network devices are created before the test | 410 | # Root access, network devices are created before the test |
405 | # restart your computer to get rid of these devices | 411 | # restart your computer to get rid of these devices |
406 | test-network: | ||
407 | $(MAKE) -C test $(subst test-,,$@) | ||
408 | 412 | ||
409 | # For testing hidepid system, the command to set it up is "mount -o remount,rw,hidepid=2 /proc" | 413 | # For testing hidepid system, the command to set it up is "mount -o remount,rw,hidepid=2 /proc" |