summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr_zoo_writer.c
diff options
context:
space:
mode:
authorSongyu Lu <songyulu@hdfgroup.org>2021-04-08 15:03:13 (GMT)
committerSongyu Lu <songyulu@hdfgroup.org>2021-04-08 15:03:13 (GMT)
commit90ee7f67793db85ead72bfefba332ec976e3899d (patch)
tree4290d52dc3b0b0fbd3b8eb31c4af42934a2fbd05 /test/vfd_swmr_zoo_writer.c
parent1ddc44852e0bb767c4085be9f60adf6cf41b9213 (diff)
downloadhdf5-90ee7f67793db85ead72bfefba332ec976e3899d.zip
hdf5-90ee7f67793db85ead72bfefba332ec976e3899d.tar.gz
hdf5-90ee7f67793db85ead72bfefba332ec976e3899d.tar.bz2
Changed the command-line option for disabling named pipes from -p to -N to be consistent with other tests.
Diffstat (limited to 'test/vfd_swmr_zoo_writer.c')
-rw-r--r--test/vfd_swmr_zoo_writer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/vfd_swmr_zoo_writer.c b/test/vfd_swmr_zoo_writer.c
index e9aeede..f704b89 100644
--- a/test/vfd_swmr_zoo_writer.c
+++ b/test/vfd_swmr_zoo_writer.c
@@ -73,7 +73,7 @@ usage(const char *progname)
fprintf(stderr, " -a: run all tests, including variable-length data\n");
fprintf(stderr, " -e: print error stacks\n");
fprintf(stderr, " -l secs: maximal seconds for reader to validate the zoo\n");
- fprintf(stderr, " -p: do not use named pipes\n");
+ fprintf(stderr, " -N: do not use named pipes\n");
fprintf(stderr, " -q: be quiet: few/no progress messages\n");
fprintf(stderr, " -v: be verbose: most progress messages\n");
exit(EXIT_FAILURE);
@@ -130,7 +130,7 @@ main(int argc, char **argv)
goto error;
}
- while ((ch = getopt(argc, argv, "CSael:pqv")) != -1) {
+ while ((ch = getopt(argc, argv, "CSael:Nqv")) != -1) {
switch(ch) {
case 'C':
config.skip_compact = true;
@@ -164,7 +164,7 @@ main(int argc, char **argv)
ival.tv_nsec = nsec;
}
break;
- case 'p':
+ case 'N':
/* Disable named pipes, mainly for running the writer and reader seperately */
use_named_pipe = false;
break;