aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/config/unix.exp11
-rw-r--r--testsuite/sos.test/batchmode.exp6
2 files changed, 6 insertions, 11 deletions
diff --git a/testsuite/config/unix.exp b/testsuite/config/unix.exp
index db3331e1..e69de29b 100644
--- a/testsuite/config/unix.exp
+++ b/testsuite/config/unix.exp
@@ -1,11 +0,0 @@
-proc sos_start {} {
- global SOS
-
- send_user "starting $SOS"
- spawn $SOS
- expect {
- -re ".*root.*" { perror "Can't start $SOS"; exit 1 }
- }
-}
-
-sos_start
diff --git a/testsuite/sos.test/batchmode.exp b/testsuite/sos.test/batchmode.exp
new file mode 100644
index 00000000..ca0b11f3
--- /dev/null
+++ b/testsuite/sos.test/batchmode.exp
@@ -0,0 +1,6 @@
+set test "BATCHMODE"
+spawn /usr/sbin/sosreport --batch
+set timeout 15
+expect {
+ -re "^.*send this file to your support representative." { pass $test }
+}