aboutsummaryrefslogtreecommitdiff
path: root/1/test/test.sh
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-12 15:21:19 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-12 15:21:19 +0200
commit891595b9307eb2695411d8e32e4addd9cd927ec8 (patch)
treeb24c323ad3e09f05ca75386ac8fef38a6fff3e74 /1/test/test.sh
parent6926a88695ce2e9fca51e01a1bf6fded3e4cbcca (diff)
rename folders
Diffstat (limited to '1/test/test.sh')
-rwxr-xr-x1/test/test.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/1/test/test.sh b/1/test/test.sh
deleted file mode 100755
index 7dba005..0000000
--- a/1/test/test.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-if [ $(id -u) -ne 0 ] ; then
- echo "run me as root!" >&2
- exit 1
-fi
-
-if [ $# -eq 0 ] ; then
- echo "usage: $0 /dev/lork" >&2
- exit 1
-fi
-
-DEV="$1"
-INPUT="test"
-
-echo "input \"$INPUT\" to $DEV" >&2
-echo "$INPUT" > "$DEV"
-echo "(EC $?)" >&2
-
-echo "output from $DEV:" >&2
-cat "$DEV"
-echo "(EC $?)" >&2
-
-exit 0