openbsd-ports/archivers/lha/patches/patch-tests-lha-test13
2014-04-18 22:59:32 +00:00

26 lines
535 B
Plaintext

$OpenBSD: patch-tests-lha-test13,v 1.2 2014/04/18 22:59:32 jasper Exp $
--- tests/lha-test13.orig Tue Jul 29 14:15:43 2003
+++ tests/lha-test13 Sat Apr 19 00:52:34 2014
@@ -46,17 +46,17 @@ diff test-tmp-euc test-tmp-euc-d2/test-tmp-euc
check $? $LINENO
i=0
-while ((i < 10))
+while [ $i -lt 10 ]
do
cat test-tmp-euc
- ((i = i + 1))
+ i=`expr $i + 1`
done > test-tmp-euc2
i=0
-while ((i < 10))
+while [ $i -lt 10 ]
do
cat test-tmp-sjis
- ((i = i + 1))
+ i=`expr $i + 1`
done > test-tmp-sjis2
# no convert