summaryrefslogtreecommitdiff
path: root/lang/mercury/patches/patch-aq
blob: f6f4e63f72db41a35b6ff6e8705a77f86c1d656e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-aq,v 1.1 2010/07/20 12:29:21 asau Exp $

--- tools/dd_speedtest.orig	2005-08-09 11:14:02.000000000 +0400
+++ tools/dd_speedtest	2010-01-11 14:29:06.000000000 +0300
@@ -49,7 +49,7 @@
 done
 shift `expr "$OPTIND" - 1`
 
-if test "$cmd" == ""; then
+if test "$cmd" = ""; then
 	echo $usage
 	exit 1
 fi
@@ -61,10 +61,10 @@
 count=1
 while test $count -le $total_runs
 do
-	if test $count == 1; then
+	if test $count = 1; then
 		run_name="FIRST"
 	else
-		if test $count == $total_runs; then
+		if test $count = $total_runs; then
 			run_name="FINAL"
 		else
 			during_cnt=`expr $count - 1`