$NetBSD: patch-bin_test,v 1.1 2014/12/09 10:17:42 thomasklausner Exp $

Fix unportable test(1) comparison operator.

--- bin/test.orig	2014-12-09 09:59:00.000000000 +0000
+++ bin/test
@@ -46,7 +46,7 @@ until_fail="";
    numjobs="";
    reactor="";
 
-if [ "$(uname -s)" == "Darwin" ]; then
+if [ "$(uname -s)" = "Darwin" ]; then
   reactor="--reactor=kqueue";
 fi;
 
@@ -65,7 +65,7 @@ usage ()
   echo "        -u  Run until the tests fail.";
   echo "        -c  Generate coverage reports.";
 
-  if [ "${1-}" == "-" ]; then return 0; fi;
+  if [ "${1-}" = "-" ]; then return 0; fi;
   exit 64;
 }
 
