|
|
ce6250 |
diff --git a/gnulib-tests/test-update-copyright.sh b/gnulib-tests/test-update-copyright.sh
|
|
|
ce6250 |
index 80b8c5a..c746a9b 100755
|
|
|
ce6250 |
--- a/gnulib-tests/test-update-copyright.sh
|
|
|
ce6250 |
+++ b/gnulib-tests/test-update-copyright.sh
|
|
|
ce6250 |
@@ -228,7 +228,7 @@ Copyright (C) 1990-2005, 2007-2009 Acme, Inc.
|
|
|
15eccb |
# Software Foundation, Inc.
|
|
|
15eccb |
EOF
|
|
|
15eccb |
|
|
|
15eccb |
-rm $TMP*
|
|
|
15eccb |
+rm -f $TMP*
|
|
|
15eccb |
|
|
|
15eccb |
## -------------- ##
|
|
|
15eccb |
## Current year. ##
|
|
|
ce6250 |
@@ -254,7 +254,7 @@ compare /dev/null $TMP-stderr || exit 1
|
|
|
15eccb |
compare - $TMP <
|
|
|
15eccb |
'\" Copyright (C) 2006, $YEAR Free Software Foundation, Inc.
|
|
|
15eccb |
EOF
|
|
|
15eccb |
-rm $TMP*
|
|
|
15eccb |
+rm -f $TMP*
|
|
|
15eccb |
|
|
|
15eccb |
## ------------------ ##
|
|
|
15eccb |
## Surrounding text. ##
|
|
|
ce6250 |
@@ -278,7 +278,7 @@ dnl Undisturbed text.
|
|
|
15eccb |
dnl Copyright (C) 1989, 2010 Free Software Foundation, Inc.
|
|
|
15eccb |
dnl Undisturbed text.
|
|
|
15eccb |
EOF
|
|
|
15eccb |
-rm $TMP*
|
|
|
15eccb |
+rm -f $TMP*
|
|
|
15eccb |
|
|
|
15eccb |
## --------------- ##
|
|
|
15eccb |
## Widest prefix. ##
|
|
|
ce6250 |
@@ -307,7 +307,7 @@ compare - $TMP <
|
|
|
15eccb |
#### Copyright (C) 1976-1988, 1999-2008, 2010-2011 Free Software
|
|
|
15eccb |
#### Foundation, Inc.
|
|
|
15eccb |
EOF
|
|
|
15eccb |
-rm $TMP*
|
|
|
15eccb |
+rm -f $TMP*
|
|
|
15eccb |
|
|
|
15eccb |
## ------------------- ##
|
|
|
15eccb |
## Prefix too large. ##
|
|
|
ce6250 |
@@ -330,7 +330,7 @@ compare - $TMP <
|
|
|
15eccb |
#### 1986, 1987, 1988, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
|
|
|
15eccb |
#### 2008 Free Software Foundation, Inc.
|
|
|
15eccb |
EOF
|
|
|
15eccb |
-rm $TMP*
|
|
|
15eccb |
+rm -f $TMP*
|
|
|
15eccb |
|
|
|
15eccb |
## ------------- ##
|
|
|
15eccb |
## Blank lines. ##
|
|
|
ce6250 |
@@ -365,7 +365,7 @@ Copyright (C) 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985,
|
|
|
15eccb |
1986, 1987, 1988, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
|
|
|
15eccb |
2008 Free Software Foundation, Inc.
|
|
|
15eccb |
EOF
|
|
|
15eccb |
-rm $TMP*
|
|
|
15eccb |
+rm -f $TMP*
|
|
|
15eccb |
|
|
|
15eccb |
## -------------- ##
|
|
|
15eccb |
## Leading tabs. ##
|
|
|
ce6250 |
@@ -394,7 +394,7 @@ compare - $TMP <
|
|
|
15eccb |
Copyright (C) 1987-1988, 1991-2011 Free Software Foundation,
|
|
|
15eccb |
Inc.
|
|
|
15eccb |
EOF
|
|
|
15eccb |
-rm $TMP*
|
|
|
15eccb |
+rm -f $TMP*
|
|
|
15eccb |
|
|
|
15eccb |
## -------------------- ##
|
|
|
15eccb |
## Unusual whitespace. ##
|
|
|
ce6250 |
@@ -431,7 +431,7 @@ compare /dev/null $TMP-stderr || exit 1
|
|
|
a2e822 |
compare - $TMP <
|
|
|
a2e822 |
# Copyright (C) 1987-2011 Free Software Foundation, Inc.
|
|
|
15eccb |
EOF
|
|
|
15eccb |
-rm $TMP*
|
|
|
15eccb |
+rm -f $TMP*
|
|
|
15eccb |
|
|
|
15eccb |
## --------- ##
|
|
|
15eccb |
## DOS EOL. ##
|
|
|
ce6250 |
@@ -453,7 +453,7 @@ Rem 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,@
|
|
|
15eccb |
Rem 2009, 2010 Free Software Foundation, Inc.@
|
|
|
15eccb |
EOF
|
|
|
15eccb |
compare $TMP-exp $TMP || exit 1
|
|
|
15eccb |
-rm $TMP*
|
|
|
15eccb |
+rm -f $TMP*
|
|
|
15eccb |
|
|
|
15eccb |
## --------------- ##
|
|
|
15eccb |
## Omitted "(C)". ##
|
|
|
ce6250 |
@@ -474,7 +474,7 @@ compare - $TMP <
|
|
|
15eccb |
1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
|
|
15eccb |
Free Software Foundation, Inc.
|
|
|
15eccb |
EOF
|
|
|
15eccb |
-rm $TMP*
|
|
|
15eccb |
+rm -f $TMP*
|
|
|
15eccb |
|
|
|
15eccb |
## ------------------ ##
|
|
|
15eccb |
## C-style comments. ##
|
|
|
ce6250 |
@@ -536,6 +536,6 @@ compare - $TMP.extra-text-space <
|
|
|
15eccb |
Inc. ***
|
|
|
15eccb |
* End of comments. */
|
|
|
15eccb |
EOF
|
|
|
15eccb |
-rm $TMP*
|
|
|
15eccb |
+rm -f $TMP*
|
|
|
15eccb |
|
|
|
15eccb |
exit 0
|
|
|
ce6250 |
diff --git a/gnulib-tests/test-version-etc.sh b/gnulib-tests/test-version-etc.sh
|
|
|
ce6250 |
index 945383b..7c322e7 100755
|
|
|
ce6250 |
--- a/gnulib-tests/test-version-etc.sh
|
|
|
ce6250 |
+++ b/gnulib-tests/test-version-etc.sh
|
|
|
15eccb |
@@ -38,6 +38,6 @@ EOT
|
|
|
15eccb |
tr -d '\015' |
|
|
|
15eccb |
diff -c $TMP - || ERR=1
|
|
|
15eccb |
|
|
|
15eccb |
-rm $TMP
|
|
|
15eccb |
+rm -f $TMP
|
|
|
15eccb |
|
|
|
15eccb |
exit $ERR
|