summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-05-29 07:50:21 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-05-29 07:50:21 -0700
commit8eeefe4671c0d3afa440fcd6f4e08c4ce4a8baf3 (patch)
tree2a5075161a3f5123fc8b71c5b9b55e1db8502f87 /tests
parent77cef2022004c4066e805da09a83b2c77f17bdd3 (diff)
downloadgnulib-8eeefe4671c0d3afa440fcd6f4e08c4ce4a8baf3.tar.gz
system-quote-tests: port to CentOS 5
Problem reported by Tom G. Christensen in <http://lists.gnu.org/archive/html/bug-gnulib/2012-05/msg00255.html>. * tests/test-system-quote-child.c (fclose, fprintf): Undef.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-system-quote-child.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-system-quote-child.c b/tests/test-system-quote-child.c
index 9b63de0887..29c366f060 100644
--- a/tests/test-system-quote-child.c
+++ b/tests/test-system-quote-child.c
@@ -19,6 +19,11 @@
#include <stdio.h>
#include <string.h>
+/* Do not use any gnulib replacements, since this program should
+ link against as few libraries as possible. */
+#undef fclose
+#undef fprintf
+
#define EXPECTED_DATA_FILE "t-sq-data.tmp"
int