mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
90 lines
1.5 KiB
Text
Executable file
90 lines
1.5 KiB
Text
Executable file
#!/usr/bin/expect -f
|
|
|
|
set timeout 10
|
|
spawn $env(SHELL)
|
|
match_max 100000
|
|
|
|
send -- "./outrun.sh\r"
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.1.1\n";exit}
|
|
"Arguments:"
|
|
}
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.1.2\n";exit}
|
|
"#arg1#"
|
|
}
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.1.3\n";exit}
|
|
"#arg2#"
|
|
}
|
|
|
|
exit
|
|
#***************************************************
|
|
# breaking down from here on - bug to fix
|
|
#***************************************************
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.2.1\n";exit}
|
|
"Arguments:"
|
|
}
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.2.2\n";exit}
|
|
"#arg1 tail#"
|
|
}
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.2.3\n";exit}
|
|
"#arg2 tail#"
|
|
}
|
|
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.3.1\n";exit}
|
|
"Arguments:"
|
|
}
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.3.2\n";exit}
|
|
"#arg1 tail#"
|
|
}
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.3.3\n";exit}
|
|
"#arg2 tail#"
|
|
}
|
|
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.4.1\n";exit}
|
|
"Arguments:"
|
|
}
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.4.2\n";exit}
|
|
"#arg1 tail#"
|
|
}
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.4.3\n";exit}
|
|
"#arg2 tail#"
|
|
}
|
|
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.5.1\n";exit}
|
|
"Arguments:"
|
|
}
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.5.2\n";exit}
|
|
"#arg1&tail#"
|
|
}
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.5.3\n";exit}
|
|
"#arg2&tail#"
|
|
}
|
|
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.6.1\n";exit}
|
|
"Arguments:"
|
|
}
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.6.2\n";exit}
|
|
"#arg1&tail#"
|
|
}
|
|
expect {
|
|
timeout {puts "TESTING ERROR 4.6.3\n";exit}
|
|
"#arg2&tail#"
|
|
}
|
|
|
|
puts "\nall done\n"
|