From 7e1c057aeda3b598838cb66b9e827fc087f70c54 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sat, 23 Apr 2016 16:16:51 -0400 Subject: make testing --- test/apps-x11/apps-x11.sh | 53 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100755 test/apps-x11/apps-x11.sh (limited to 'test/apps-x11/apps-x11.sh') 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 @@ +#!/bin/bash +# This file is part of Firejail project +# Copyright (C) 2014-2016 Firejail Authors +# License GPL v2 + +export MALLOC_CHECK_=3 +export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) + +which xterm +if [ "$?" -eq 0 ]; +then + echo "TESTING: xterm x11" + ./xterm.exp +else + echo "TESTING: xterm not found" +fi + +which firefox +if [ "$?" -eq 0 ]; +then + echo "TESTING: firefox x11" + ./firefox.exp +else + echo "TESTING: firefox not found" +fi + +which chromium +if [ "$?" -eq 0 ]; +then + echo "TESTING: chromium x11" + ./chromium.exp +else + echo "TESTING: chromium not found" +fi + +which transmission-gtk +if [ "$?" -eq 0 ]; +then + echo "TESTING: transmission-gtk x11" + ./transmission-gtk.exp +else + echo "TESTING: transmission-gtk not found" +fi + +which icedove +if [ "$?" -eq 0 ]; +then + echo "TESTING: icedove x11" + ./icedove.exp +else + echo "TESTING: icedovenot found" +fi + -- cgit v1.2.3-70-g09d2