aboutsummaryrefslogtreecommitdiffstats
path: root/test/private-lib/private-lib.sh
blob: 5718d33d70e32e01e64f3fbadfd5401bfc4b0f9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
# This file is part of Firejail project
# Copyright (C) 2014-2017 Firejail Authors
# License GPL v2

export MALLOC_CHECK_=3
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
# LIST="evince galculator gnome-calculator hexchat kcalc ktorrent leafpad mousepad qbittorrent transmission-gtk transmission-qt xcalc"
LIST="evince galculator gnome-calculator hexchat leafpad mousepad transmission-gtk xcalc"


for app in $LIST; do
	which $app
	if [ "$?" -eq 0 ];
	then
		echo "TESTING: private-lib $app"
		./$app.exp
	else
		echo "TESTING SKIP: $app not found"
	fi
done