[test suite] check for Darwin uname output for Mac OS X
authorMichael Rash <mbr@cipherdyne.org>
Mon, 10 Feb 2014 02:39:52 +0000 (21:39 -0500)
committerMichael Rash <mbr@cipherdyne.org>
Mon, 10 Feb 2014 02:39:52 +0000 (21:39 -0500)
test/test-fwknop.pl

index 5cc85fc..4748986 100755 (executable)
@@ -5749,6 +5749,9 @@ sub init() {
         } elsif (/freebsd/i) {
             $platform = $FREEBSD;
             last;
+        } elsif (/darwin/i) {
+            $platform = $MACOSX;
+            last;
         }
     }
     close UNAME;