summaryrefslogtreecommitdiff
path: root/src/pal/tests/palsuite/c_runtime/_fdopen/test1/testinfo.dat
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2016-11-23 19:09:09 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2016-11-23 19:09:09 +0900
commit4b4aad7217d3292650e77eec2cf4c198ea9c3b4b (patch)
tree98110734c91668dfdbb126fcc0e15ddbd93738ca /src/pal/tests/palsuite/c_runtime/_fdopen/test1/testinfo.dat
parentfa45f57ed55137c75ac870356a1b8f76c84b229c (diff)
downloadcoreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.gz
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.bz2
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.zip
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'src/pal/tests/palsuite/c_runtime/_fdopen/test1/testinfo.dat')
-rw-r--r--src/pal/tests/palsuite/c_runtime/_fdopen/test1/testinfo.dat23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/pal/tests/palsuite/c_runtime/_fdopen/test1/testinfo.dat b/src/pal/tests/palsuite/c_runtime/_fdopen/test1/testinfo.dat
new file mode 100644
index 0000000000..89e48bb4c1
--- /dev/null
+++ b/src/pal/tests/palsuite/c_runtime/_fdopen/test1/testinfo.dat
@@ -0,0 +1,23 @@
+# Licensed to the .NET Foundation under one or more agreements.
+# The .NET Foundation licenses this file to you under the MIT license.
+# See the LICENSE file in the project root for more information.
+
+Version = 1.0
+Section = C Runtime
+Function = fdopen
+Name = test for fdopen and _close
+TYPE = DEFAULT
+EXE1 = test1
+Description
+= Tests the PAL implementation of the fdopen function.
+= This will test fdopen in r (read) mode. This test
+= creates and opens a test pipe, to write and read
+= from. fdopen requires a file handle(int), therefore
+= _open_osfhandle is used to get that handle.
+= _open_osfhandle is only used with CreatePipe. The
+= test will write and read from the pipe comparing
+= the results.
+= As a secondary test, _close is tested since it needs
+= the handle returned by _open_osfhandle. The handle is
+= closed, then a read is attempted on the handle which
+= should fail.