aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-03-02 08:19:41 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2023-03-02 08:19:41 -0500
commit91235785e06ac890514fd51fa44aa14e7c2e108e (patch)
tree5834f92126a508af41f65a0bf4fba96e46ccbd17 /Makefile
parentappimage testing (diff)
downloadfirejail-91235785e06ac890514fd51fa44aa14e7c2e108e.tar.gz
firejail-91235785e06ac890514fd51fa44aa14e7c2e108e.tar.zst
firejail-91235785e06ac890514fd51fa44aa14e7c2e108e.zip
network testing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index dbe084a2e..fc543f8c4 100644
--- a/Makefile
+++ b/Makefile
@@ -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
375lab-setup:; uname -r; ldd --version | grep GLIBC; pwd; whoami; cat /etc/resolv.conf; cat /etc/hosts; ls /etc 375lab-setup:; uname -r; ldd --version | grep GLIBC; pwd; whoami; ip addr show; cat /etc/resolv.conf; cat /etc/hosts; ls /etc
376 376
377test: 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 377test: 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
384test-appimage: 384test-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"
388test-chroot: 388test-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"
392test-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
392test-github: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment 398test-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
406test-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"