summaryrefslogtreecommitdiffstats
path: root/tools/test_port
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-11-04 13:41:39 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-11-04 13:41:39 +0100
commit40d1a8071fc6e8596950a39ab6aa82c4be3b4edc (patch)
treea1889770b96116778aa91dc3d88edf0d8b567c0e /tools/test_port
parent7a07b4a4398e02aead731b0c38af143d6a2fe41a (diff)
downloadjeyzuos-40d1a8071fc6e8596950a39ab6aa82c4be3b4edc.zip
jeyzuos-40d1a8071fc6e8596950a39ab6aa82c4be3b4edc.tar.gz
add inw, outw test script
Diffstat (limited to 'tools/test_port')
-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