openbsd-ports/archivers/lha/patches/patch-tests-lha-test1
alek 92cb94d553 Update to 1.14i.ac20050924
From Yozo Toda <yozo@v007.vaio.ne.jp> (MAINTAINER)
2005-12-04 17:05:50 +00:00

16 lines
363 B
Plaintext

--- tests/lha-test1.orig Sun Jul 27 18:13:34 2003
+++ tests/lha-test1 Sun May 9 10:03:28 2004
@@ -2,10 +2,10 @@
message testing to create/list/extract lha archive.
i=0
-while (( i < 100 ))
+while [ $i -lt 100 ]
do
echo foo
- ((i = i + 1))
+ i=`expr $i + 1`
done > test-a
sed 's/foo/bar/g' < test-a > test-b
sed 's/foo/baz/g' < test-a > test-c