summaryrefslogtreecommitdiff
path: root/test/common/README.md
diff options
context:
space:
mode:
authorJeremiah Senkpiel <fishrock123@rocketmail.com>2018-02-16 12:09:54 -0500
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2018-02-20 12:31:16 -0500
commit92bf2492cd6b78b1ab26765660d912ee34bb90c6 (patch)
tree154aa20b09c922abbe505ab1ecc68c96d1fceb87 /test/common/README.md
parent0089860757753f305a45a4c6d19db54e162c36c2 (diff)
downloadandroid-node-v8-92bf2492cd6b78b1ab26765660d912ee34bb90c6.tar.gz
android-node-v8-92bf2492cd6b78b1ab26765660d912ee34bb90c6.tar.bz2
android-node-v8-92bf2492cd6b78b1ab26765660d912ee34bb90c6.zip
test: move getTTYfd() to common helpers
This utility is fairly generic and likely useful for more than one test. PR-URL: https://github.com/nodejs/node/pull/18800 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'test/common/README.md')
-rw-r--r--test/common/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/common/README.md b/test/common/README.md
index e0a66e9da0..7fd36f5985 100644
--- a/test/common/README.md
+++ b/test/common/README.md
@@ -679,6 +679,12 @@ The realpath of the testing temporary directory.
Deletes and recreates the testing temporary directory.
+### getTTYfd()
+
+Attempts to get a valid TTY file descriptor. Returns `-1` if it fails.
+
+The TTY file descriptor is assumed to be capable of being writable.
+
## WPT Module
The wpt.js module is a port of parts of