firejail/test/apps-x11-xorg/apps-x11-xorg.sh
2018-01-15 09:46:44 -05:00

34 lines
642 B
Bash
Executable file

#!/bin/bash
# This file is part of Firejail project
# Copyright (C) 2014-2018 Firejail Authors
# License GPL v2
export MALLOC_CHECK_=3
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
which firefox
if [ "$?" -eq 0 ];
then
echo "TESTING: firefox x11 xorg"
./firefox.exp
else
echo "TESTING SKIP: firefox not found"
fi
which transmission-gtk
if [ "$?" -eq 0 ];
then
echo "TESTING: transmission-gtk x11 xorg"
./transmission-gtk.exp
else
echo "TESTING SKIP: transmission-gtk not found"
fi
which thunderbird
if [ "$?" -eq 0 ];
then
echo "TESTING: thunderbird x11 xorg"
./thunderbird.exp
else
echo "TESTING SKIP: thunderbird not found"
fi