summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/testsuite/27_io/objects/char/7.cc
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-06 17:03:10 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-06 17:03:10 +0000
commit16cb9d1f5a0497c0c9c2f439d9515ca31c17beea (patch)
tree128be1c28a19f18dd54e51d827c7eef015ccb6f2 /libstdc++-v3/testsuite/27_io/objects/char/7.cc
parent232ccb3086420ea3c20da2af1ada8fd4f478bfb6 (diff)
downloadppe42-gcc-16cb9d1f5a0497c0c9c2f439d9515ca31c17beea.tar.gz
ppe42-gcc-16cb9d1f5a0497c0c9c2f439d9515ca31c17beea.zip
* testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
* testsuite/testsuite_hooks.h (try_mkfifo): Likewise. * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use dg-require-fork and dg-require-mkfifo. Replace try_mkfifo with mkfifo. * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. * testsuite/27_io/objects/char/7.cc: Likewise. * testsuite/27_io/objects/char/9661-1.cc: Likewise. * testsuite/27_io/objects/wchar_t/7.cc: Likewise. * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. * lib/target-supports-dg.exp (dg-require-fork): New function. (dg-require-mkfifo): Likewise. * lib/target-supports.exp (check_function_available): New function. (check_fork_available): Likewise. (check_mkfifo_available): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99325 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/objects/char/7.cc')
-rw-r--r--libstdc++-v3/testsuite/27_io/objects/char/7.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/27_io/objects/char/7.cc b/libstdc++-v3/testsuite/27_io/objects/char/7.cc
index 9650f7b26df..b1b078120c1 100644
--- a/libstdc++-v3/testsuite/27_io/objects/char/7.cc
+++ b/libstdc++-v3/testsuite/27_io/objects/char/7.cc
@@ -1,3 +1,6 @@
+// { dg-require-fork "" }
+// { dg-require-mkfifo "" }
+
// 2003-04-26 Petur Runolfsson <peturr02@ru.is>
// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
@@ -41,7 +44,7 @@ void test07()
signal(SIGPIPE, SIG_IGN);
unlink(name);
- try_mkfifo(name, S_IRWXU);
+ mkfifo(name, S_IRWXU);
semaphore s1;
int child = fork();
OpenPOWER on IntegriCloud