about summary refs log tree commit diff
path: root/support/test-driver.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-06-26 12:05:21 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-06-26 12:30:50 +0200
commit5c0202af4b3d588c04bcec7baf05706b21cd7416 (patch)
treeb716158811f494de86285576f5708192045d79b8 /support/test-driver.h
parentc402355dfa7807b8e0adb27c009135a7e2b9f1b0 (diff)
downloadglibc-5c0202af4b3d588c04bcec7baf05706b21cd7416.tar.gz
glibc-5c0202af4b3d588c04bcec7baf05706b21cd7416.tar.xz
glibc-5c0202af4b3d588c04bcec7baf05706b21cd7416.zip
support: Add TEST_NO_SETVBUF
This is sometimes needed for testing stdio streams, where the
setvbuf call in the test driver could interfere with the test.
Diffstat (limited to 'support/test-driver.h')
-rw-r--r--support/test-driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/test-driver.h b/support/test-driver.h
index 1708d68d60..549179b254 100644
--- a/support/test-driver.h
+++ b/support/test-driver.h
@@ -35,6 +35,7 @@ struct test_config
   int expected_status;   /* Expected exit status.  */
   int expected_signal;   /* If non-zero, expect termination by signal.  */
   char no_mallopt;       /* Boolean flag to disable mallopt.  */
+  char no_setvbuf;       /* Boolean flag to disable setvbuf.  */
   const char *optstring; /* Short command line options.  */
 };