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

export MALLOC_CHECK_=3
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
export LC_ALL=C


#if grep -q "^CapBnd:\\s0000003fffffffff" /proc/self/status; then
	echo "TESTING: capabilities (test/filters/caps.exp)"
	./caps.exp
#else
#	echo "TESTING SKIP: other capabilities than expected (test/filters/caps.exp)"
#fi

echo "TESTING: capabilities print (test/filters/caps-print.exp)"
./caps-print.exp

echo "TESTING: capabilities join (test/filters/caps-join.exp)"
./caps-join.exp

echo "TESTING: firemon caps (test/utils/firemon-caps.exp)"
./firemon-caps.exp