Project Info Name.......: gnu-hello
Description: GNU Hello


gnu-hello       
Info
Commit...:5f1021217c7ce377032d2ee7be9b6cb6e8ae4714
Author...:karl <>
Committer:karl <>
Date.....:Sun Sep 3 00:10:32 2006 +0000
Parents..:4dafde9f0594128dc651eb064e5dffc3b3832ca6

Message
[project @ 2006-09-03 00:10:32 by karl]
formatting

Changes
diff --git a/tests/greeting-1 b/tests/greeting-1
line changes: +5/-2
index 355b8f2..275f1b1
--- a/tests/greeting-1
+++ b/tests/greeting-1
@@ -13,14 +13,17 @@ trap 'rm -fr $tmpfiles' 1 2 3 15
 # nothing in the output should be locale-dependent.
 
 tmpfiles="greeting-test1.ok"
-cat <<EOF > greeting-test1.ok
+cat <<EOF >greeting-test1.ok
 Nothing happens here.
 EOF
 
 tmpfiles="$tmpfiles greeting-test1.out"
 : ${HELLO=hello}
-${HELLO} -g 'Nothing happens here.' > greeting-test1.out
+${HELLO} -g 'Nothing happens here.' >greeting-test1.out
 
+# remove \r (CR) characters from the output, so that the tests work on
+# platforms with CRLF line endings.
+# 
 : ${DIFF=diff}
 ${DIFF} greeting-test1.ok greeting-test1.out
 result=$?

This website is licensed under AGPL-3.0. Feel free to copy!