aboutsummaryrefslogtreecommitdiffstats
path: root/test/sound.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-04-24 07:50:35 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-04-24 07:50:35 -0400
commita3207cdca569d78ee6a9723c7c0dfdf10cd15845 (patch)
treeb1925e299c26d57edc4b471a342f8e1d8accf186 /test/sound.exp
parenttesting (diff)
downloadfirejail-a3207cdca569d78ee6a9723c7c0dfdf10cd15845.tar.gz
firejail-a3207cdca569d78ee6a9723c7c0dfdf10cd15845.tar.zst
firejail-a3207cdca569d78ee6a9723c7c0dfdf10cd15845.zip
testing
Diffstat (limited to 'test/sound.exp')
-rwxr-xr-xtest/sound.exp79
1 files changed, 0 insertions, 79 deletions
diff --git a/test/sound.exp b/test/sound.exp
deleted file mode 100755
index 078f8b416..000000000
--- a/test/sound.exp
+++ /dev/null
@@ -1,79 +0,0 @@
1#!/usr/bin/expect -f
2
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7send -- "firejail --nosound speaker-test\r"
8expect {
9 timeout {puts "TESTING ERROR 1\n";exit}
10 "Child process initialized"
11}
12expect {
13 timeout {puts "TESTING ERROR 2\n";exit}
14 "Parent is shutting down"
15}
16sleep 2
17
18send -- "firejail --nosound aplay -l\r"
19expect {
20 timeout {puts "TESTING ERROR 3\n";exit}
21 "Child process initialized"
22}
23expect {
24 timeout {puts "TESTING ERROR 4\n";exit}
25 "List of PLAYBACK" {puts "TESTING ERROR 3\n";exit}
26 "no soundcards found"
27}
28expect {
29 timeout {puts "TESTING ERROR 5\n";exit}
30 "Parent is shutting down"
31}
32sleep 2
33
34
35send -- "firejail --profile=sound.profile speaker-test\r"
36expect {
37 timeout {puts "TESTING ERROR 11\n";exit}
38 "Child process initialized"
39}
40expect {
41 timeout {puts "TESTING ERROR 12\n";exit}
42 "Parent is shutting down"
43}
44sleep 2
45
46send -- "firejail --profile=sound.profile aplay -l\r"
47expect {
48 timeout {puts "TESTING ERROR 13\n";exit}
49 "Child process initialized"
50}
51expect {
52 timeout {puts "TESTING ERROR 14\n";exit}
53 "List of PLAYBACK" {puts "TESTING ERROR 3\n";exit}
54 "no soundcards found"
55}
56expect {
57 timeout {puts "TESTING ERROR 15\n";exit}
58 "Parent is shutting down"
59}
60sleep 2
61
62
63send -- "firejail aplay -l\r"
64expect {
65 timeout {puts "TESTING ERROR 23\n";exit}
66 "Child process initialized"
67}
68expect {
69 timeout {puts "TESTING ERROR 24\n";exit}
70 "List of PLAYBACK"
71}
72expect {
73 timeout {puts "TESTING ERROR 25\n";exit}
74 "Parent is shutting down"
75}
76sleep 2
77
78puts "\n"
79