summaryrefslogtreecommitdiff
path: root/devel/cgen/patches/patch-cgen_testsuite_run-tests.sh
blob: e045524145946027654d5a362842e87cb4dd3265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-cgen_testsuite_run-tests.sh,v 1.1 2013/10/12 08:39:03 ryoon Exp $

--- cgen/testsuite/run-tests.sh.orig	2009-08-06 16:40:44.000000000 +0000
+++ cgen/testsuite/run-tests.sh
@@ -6,7 +6,7 @@
 
 # The names of tests to run, or ""/"all".
 test_list="$@"
-[ "$test_list" == "" ] && test_list=all
+[ "$test_list" = "" ] && test_list=all
 
 test="driver"
 source ./test-utils.sh
@@ -39,7 +39,7 @@ echo "Test summary:"
 echo "# failures: ${fail_count}"
 echo "# passes:   ${pass_count}"
 
-if [ ${fail_count} == 0 ]
+if [ ${fail_count} = 0 ]
 then
     exit 0
 else