mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
25 lines
460 B
Bash
Executable file
25 lines
460 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ -f /etc/debian_version ]; then
|
|
libdir=$(dirname "$(dpkg -L firejail | grep faudit)")
|
|
export PATH="$PATH:$libdir"
|
|
fi
|
|
export PATH="$PATH:/usr/lib/firejail:/usr/lib64/firejail"
|
|
|
|
echo "TESTING: 1. regular bash session"
|
|
./bashrun.exp
|
|
sleep 1
|
|
|
|
echo "TESTING: 2. symbolic link to firejail"
|
|
./symrun.exp
|
|
rm -fr symtest
|
|
sleep 1
|
|
|
|
echo "TESTING: 3. --join option"
|
|
./joinrun.exp
|
|
sleep 1
|
|
|
|
echo "TESTING: 4. --output option"
|
|
./outrun.exp
|
|
rm out
|
|
rm out.*
|