summaryrefslogtreecommitdiff
path: root/modules/dup2-tests
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-07-21 06:48:56 -0600
committerEric Blake <ebb9@byu.net>2009-07-21 07:08:10 -0600
commitb80176069521ff306b2b81ef0a9abfa8d741ada7 (patch)
treec2c99e243bd1e7d6062fa5e9ef25fd429e176d54 /modules/dup2-tests
parentddd625ddd088a87d5598256d09b2036c63063386 (diff)
downloadgnulib-b80176069521ff306b2b81ef0a9abfa8d741ada7.tar.gz
dup2-tests: test previous patch
* modules/dup2-tests: New file. * tests/test-dup2.c: Likewise. * tests/test-open.c (main): Avoid unspecified behavior. * tests/test-pipe.c (child_main): Use dup2 semantics to simplify test. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'modules/dup2-tests')
-rw-r--r--modules/dup2-tests12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/dup2-tests b/modules/dup2-tests
new file mode 100644
index 0000000000..9b1e7db40f
--- /dev/null
+++ b/modules/dup2-tests
@@ -0,0 +1,12 @@
+Files:
+tests/test-dup2.c
+
+Depends-on:
+close
+open
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-dup2
+check_PROGRAMS += test-dup2