[svn-r1352] Changed the '\n' argument to '\012' since some other machines (solaris,

irix) misinterpreted it to mean deleting the letter 'n'.
Tested in IRIX and solaris and FreeBSD machines.
This commit is contained in:
Albert Cheng 1999-06-15 21:06:25 -05:00
parent 004cf630d5
commit 231e8a2e96
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ mkdir testfiles >/dev/null 2>&1
TESTING()
{
SPACES=" "
echo "Testing $* $SPACES" |cut -c1-70 |tr -d '\n'
echo "Testing $* $SPACES" |cut -c1-70 |tr -d '\012'
}
# Run a test and print PASS or *FAIL*. If a test fails then increment

View File

@ -38,7 +38,7 @@ verbose=yes
TESTING()
{
SPACES=" "
echo "Testing $* $SPACES" |cut -c1-70 |tr -d '\n'
echo "Testing $* $SPACES" |cut -c1-70 |tr -d '\012'
}
# Run a test and print PASS or *FAIL*. If a test fails then increment