aboutsummaryrefslogtreecommitdiffstats
path: root/test/apps-x11/apps-x11.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/apps-x11/apps-x11.sh')
-rwxr-xr-xtest/apps-x11/apps-x11.sh53
1 files changed, 53 insertions, 0 deletions
diff --git a/test/apps-x11/apps-x11.sh b/test/apps-x11/apps-x11.sh
new file mode 100755
index 000000000..938d4c993
--- /dev/null
+++ b/test/apps-x11/apps-x11.sh
@@ -0,0 +1,53 @@
1#!/bin/bash
2# This file is part of Firejail project
3# Copyright (C) 2014-2016 Firejail Authors
4# License GPL v2
5
6export MALLOC_CHECK_=3
7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
8
9which xterm
10if [ "$?" -eq 0 ];
11then
12 echo "TESTING: xterm x11"
13 ./xterm.exp
14else
15 echo "TESTING: xterm not found"
16fi
17
18which firefox
19if [ "$?" -eq 0 ];
20then
21 echo "TESTING: firefox x11"
22 ./firefox.exp
23else
24 echo "TESTING: firefox not found"
25fi
26
27which chromium
28if [ "$?" -eq 0 ];
29then
30 echo "TESTING: chromium x11"
31 ./chromium.exp
32else
33 echo "TESTING: chromium not found"
34fi
35
36which transmission-gtk
37if [ "$?" -eq 0 ];
38then
39 echo "TESTING: transmission-gtk x11"
40 ./transmission-gtk.exp
41else
42 echo "TESTING: transmission-gtk not found"
43fi
44
45which icedove
46if [ "$?" -eq 0 ];
47then
48 echo "TESTING: icedove x11"
49 ./icedove.exp
50else
51 echo "TESTING: icedovenot found"
52fi
53