From a3207cdca569d78ee6a9723c7c0dfdf10cd15845 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sun, 24 Apr 2016 07:50:35 -0400 Subject: [PATCH] testing --- test/environment/environment.sh | 6 ++++++ test/{ => environment}/nice.exp | 3 +++ test/{ => environment}/nice.profile | 0 test/{ => environment}/sound.exp | 6 +++++- test/{ => environment}/sound.profile | 0 test/notes | 13 ------------- 6 files changed, 14 insertions(+), 14 deletions(-) rename test/{ => environment}/nice.exp (92%) rename test/{ => environment}/nice.profile (100%) rename test/{ => environment}/sound.exp (92%) rename test/{ => environment}/sound.profile (100%) delete mode 100644 test/notes diff --git a/test/environment/environment.sh b/test/environment/environment.sh index ef9b49d64..f737d284b 100755 --- a/test/environment/environment.sh +++ b/test/environment/environment.sh @@ -50,3 +50,9 @@ echo "TESTING: firejail in firejail - single sandbox (test/environment/firejail- echo "TESTING: firejail in firejail - force new sandbox (test/environment/firejail-in-firejail2.exp)" ./firejail-in-firejail2.exp + +echo "TESTING: sound (test/environment/sound.exp)" +./sound.exp + +echo "TESTING: nice ((test/environment/nice.exp)" +./nice.exp diff --git a/test/nice.exp b/test/environment/nice.exp similarity index 92% rename from test/nice.exp rename to test/environment/nice.exp index f4afb547d..7e5731c63 100755 --- a/test/nice.exp +++ b/test/environment/nice.exp @@ -1,4 +1,7 @@ #!/usr/bin/expect -f +# This file is part of Firejail project +# Copyright (C) 2014-2016 Firejail Authors +# License GPL v2 set timeout 10 spawn $env(SHELL) diff --git a/test/nice.profile b/test/environment/nice.profile similarity index 100% rename from test/nice.profile rename to test/environment/nice.profile diff --git a/test/sound.exp b/test/environment/sound.exp similarity index 92% rename from test/sound.exp rename to test/environment/sound.exp index 078f8b416..e2e8fb610 100755 --- a/test/sound.exp +++ b/test/environment/sound.exp @@ -1,4 +1,8 @@ #!/usr/bin/expect -f +# This file is part of Firejail project +# Copyright (C) 2014-2016 Firejail Authors +# License GPL v2 + set timeout 10 spawn $env(SHELL) @@ -75,5 +79,5 @@ expect { } sleep 2 -puts "\n" +puts "\nall done\n" diff --git a/test/sound.profile b/test/environment/sound.profile similarity index 100% rename from test/sound.profile rename to test/environment/sound.profile diff --git a/test/notes b/test/notes deleted file mode 100644 index 864cd5519..000000000 --- a/test/notes +++ /dev/null @@ -1,13 +0,0 @@ -Testing --nosound - -Get a list of active PulseAudio clients: -$ pacmd info | grep application.process.binary - application.process.binary = "lxpanel" - application.process.binary = "plugin-container" - application.process.binary = "plugin-container" - -Find active PulseAudio socket: -$ netstat -l | grep pulse -unix 2 [ ACC ] STREAM LISTENING 10669 /tmp/pulse-WwG6ohxIJmGO/cli -unix 2 [ ACC ] STREAM LISTENING 12584 /tmp/pulse-WwG6ohxIJmGO/dbus-socket -unix 2 [ ACC ] STREAM LISTENING 12581 /tmp/pulse-WwG6ohxIJmGO/native