summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2011-06-12 16:22:04 +0000
committerPaul Smith <psmith@gnu.org>2011-06-12 16:22:04 +0000
commitb06b8c64a29a5ba3a8daecd829fa2f98d42cb285 (patch)
tree10c7d1ee47a4623db259a56152f9c33e97311161 /tests
parentf15efca8112bc2cd4f120a64fcc3aa4fa70a871e (diff)
downloadgunmake-b06b8c64a29a5ba3a8daecd829fa2f98d42cb285.tar.gz
Fix another error related to whitespace handling in archives.
Newer version of VMS support strncasecmp() so update the config.h.
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog6
-rw-r--r--tests/scripts/features/archives5
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 629242c..d800b49 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,9 @@
+2011-06-12 Paul Smith <psmith@gnu.org>
+
+ * scripts/features/archives: Check archives with whitespace at the
+ beginning, end, and extra in the middle.
+ Another test for Savannah bug #30612.
+
2011-05-07 Paul Smith <psmith@gnu.org>
* scripts/variables/private: Ensure we skip private variables when
diff --git a/tests/scripts/features/archives b/tests/scripts/features/archives
index 00aa1af..3fe46a0 100644
--- a/tests/scripts/features/archives
+++ b/tests/scripts/features/archives
@@ -36,6 +36,11 @@ utouch(-50, 'a2.o');
run_make_test('all: libxx.a(a3.o *.o)', '',
"ar rv libxx.a a3.o\na - a3.o\nar rv libxx.a a2.o\nr - a2.o\n");
+# Check whitespace handling
+utouch(-40, 'a2.o');
+run_make_test('all: libxx.a( a3.o *.o )', '',
+ "ar rv libxx.a a2.o\nr - a2.o\n");
+
rmfiles(qw(a1.o a2.o a3.o libxx.a));
# This tells the test driver that the perl test script executed properly.