summaryrefslogtreecommitdiffstats
path: root/debian/tests/t/command.t
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/t/command.t')
-rwxr-xr-xdebian/tests/t/command.t17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/tests/t/command.t b/debian/tests/t/command.t
new file mode 100755
index 0000000..c59bafb
--- /dev/null
+++ b/debian/tests/t/command.t
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+echo 1..4
+
+. `dirname $0`/boilerplate.sh
+
+$SCREEN -D -m -s /bin/true sleep 2 &
+check_exit_code_true Create session
+
+sleep 1
+
+session_exists_2_tests
+
+sleep 2
+
+has_session_with_testname
+check_exit_code_false Session is gone