]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- (dtucker) [regress/addrmatch.sh] skip tests when running on a non-ipv6
authorDarren Tucker <dtucker@zip.com.au>
Fri, 27 Apr 2012 00:55:39 +0000 (10:55 +1000)
committerDarren Tucker <dtucker@zip.com.au>
Fri, 27 Apr 2012 00:55:39 +0000 (10:55 +1000)
   platform rather than exiting early, so that we still clean up and return
   status to test-exec.sh

ChangeLog
regress/addrmatch.sh

index 7ec760c64744be9800ac13c5715c53708b891a9b..5eda2f2708ed4781e88026216ac899e5665f47b4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+20120427
+ - (dtucker) [regress/addrmatch.sh] skip tests when running on a non-ipv6
+   platform rather than exiting early, so that we still clean up and return
+   success or failure to test-exec.sh
+
 20120426
  - (djm) [auth-passwd.c] Handle crypt() returning NULL; from Paul Wouters
    via Niels
index 23ddd65ceb11b3193eae5c312345bf07515879f3..5102317df08cc7140ac80424edc44ffac55f2431 100644 (file)
@@ -33,13 +33,14 @@ run_trial user 19.0.0.1 somehost no         "deny, no match"
 run_trial user 10.255.255.254 somehost yes     "permit, list middle"
 run_trial user 192.168.30.1 192.168.0.1 no     "deny, faked IP in hostname"
 run_trial user 1.1.1.1 somehost.example.com yes        "permit, bare IP4 address"
-test "$TEST_SSH_IPV6" = "no" && exit
+if test "$TEST_SSH_IPV6" != "no"; then
 run_trial user ::1 somehost.example.com         yes    "permit, bare IP6 address"
 run_trial user ::2 somehost.exaple.com no      "deny IPv6"
 run_trial user ::3 somehost no                 "deny IP6 negated"
 run_trial user ::4 somehost no                 "deny, IP6 no match"
 run_trial user 2000::1 somehost yes            "permit, IP6 network"
 run_trial user 2001::1 somehost no             "deny, IP6 network"
+fi
 
 cp $OBJ/sshd_proxy_bak $OBJ/sshd_proxy
 rm $OBJ/sshd_proxy_bak