diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-06-26 12:05:21 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-06-26 12:30:50 +0200 |
commit | 5c0202af4b3d588c04bcec7baf05706b21cd7416 (patch) | |
tree | b716158811f494de86285576f5708192045d79b8 /support/test-driver.c | |
parent | c402355dfa7807b8e0adb27c009135a7e2b9f1b0 (diff) | |
download | glibc-5c0202af4b3d588c04bcec7baf05706b21cd7416.tar glibc-5c0202af4b3d588c04bcec7baf05706b21cd7416.tar.gz glibc-5c0202af4b3d588c04bcec7baf05706b21cd7416.tar.bz2 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.c')
-rw-r--r-- | support/test-driver.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/support/test-driver.c b/support/test-driver.c index 09c8783e4f..9798f16227 100644 --- a/support/test-driver.c +++ b/support/test-driver.c @@ -140,6 +140,10 @@ main (int argc, char **argv) test_config.no_mallopt = 1; #endif +#ifdef TEST_NO_SETVBUF + test_config.no_setvbuf = 1; +#endif + #ifdef TIMEOUT test_config.timeout = TIMEOUT; #endif |