summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/test_port11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/test_port b/tools/test_port
new file mode 100755
index 0000000..dd1798a
--- /dev/null
+++ b/tools/test_port
@@ -0,0 +1,11 @@
+#! /bin/bash
+
+PORT=/dev/pts/2
+
+sleep 1
+
+echo "write to $PORT"
+echo "a" > $PORT
+
+echo "read from $PORT"
+cat $PORT