Ave!

I have just built sh-utils on HP/UX 10.20, with GCC 3.3.1 
as a compiler. Everything went fine, except 'make check'
complained about stty row-col-1 test. Failed tests were #2,
#5, #6 and #7.

It turned out that sometimes 'stty size' puts an extra
space before the first number being output. I don't know
if it's acceptable or not. If yes, the following patch to
the script in question should quiet these errors.

If there are any questions, please ask.

Regards,

Piotr Sulecki
Institute of Metal Cutting
Cracow, Poland.
---------------- patch follows -------------------
--- sh-utils-2.0/tests/stty/row-col-1   1999-08-10 09:14:40.000000000
+0200
+++ sh-utils-2.0/tests/stty/row-col-1-new       2003-09-09
12:48:39.000000000 +0200
@@ -47,7 +47,9 @@
     echo "test $test_name... " | tr -d '\012'
   fi
   stty $args || exit 1
-  test x"`stty size 2> /dev/null`" = "x$expected_result" \
+  result=`stty size 2> /dev/null`
+  result=`echo $result`
+  test "x$result" = "x$expected_result" \
     && ok=ok || ok=FAIL fail=1
   test "$VERBOSE" = yes && echo $ok
   shift; shift; shift


_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to