diff options
author | netblue30 <netblue30@protonmail.com> | 2023-02-06 14:13:12 -0500 |
---|---|---|
committer | netblue30 <netblue30@protonmail.com> | 2023-02-06 14:13:12 -0500 |
commit | 4a4bd8a617cfd01a95e92e915a118ba550870995 (patch) | |
tree | 88564c24d2bb4322fffdf41edb14b92c2b5784ef | |
parent | Merge pull request #5643 from glitsj16/whois-fix (diff) | |
download | firejail-4a4bd8a617cfd01a95e92e915a118ba550870995.tar.gz firejail-4a4bd8a617cfd01a95e92e915a118ba550870995.tar.zst firejail-4a4bd8a617cfd01a95e92e915a118ba550870995.zip |
testing
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | test/sysutils/sysutils.sh | 8 | ||||
-rwxr-xr-x | test/sysutils/whois.exp (renamed from test/private-lib/whois.exp) | 0 |
3 files changed, 9 insertions, 1 deletions
@@ -376,7 +376,7 @@ $(TEST_TARGETS): | |||
376 | 376 | ||
377 | 377 | ||
378 | # extract some data about the testing setup: kernel, network connectivity, user | 378 | # extract some data about the testing setup: kernel, network connectivity, user |
379 | lab-setup:; uname -r; pwd; whoami; cat /etc/resolv.conf; cat /etc/hosts | 379 | lab-setup:; uname -r; pwd; whoami; cat /etc/resolv.conf; cat /etc/hosts; ls /etc |
380 | 380 | ||
381 | test: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters | 381 | test: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters |
382 | echo "TEST COMPLETE" | 382 | echo "TEST COMPLETE" |
diff --git a/test/sysutils/sysutils.sh b/test/sysutils/sysutils.sh index bab243c4b..a1aaa80a7 100755 --- a/test/sysutils/sysutils.sh +++ b/test/sysutils/sysutils.sh | |||
@@ -127,3 +127,11 @@ else | |||
127 | echo "TESTING SKIP: strings not found" | 127 | echo "TESTING SKIP: strings not found" |
128 | fi | 128 | fi |
129 | 129 | ||
130 | if command -v whois | ||
131 | then | ||
132 | echo "TESTING: whois" | ||
133 | ./whois.exp | ||
134 | else | ||
135 | echo "TESTING SKIP: whois not found" | ||
136 | fi | ||
137 | |||
diff --git a/test/private-lib/whois.exp b/test/sysutils/whois.exp index 29190253c..29190253c 100755 --- a/test/private-lib/whois.exp +++ b/test/sysutils/whois.exp | |||