aboutsummaryrefslogtreecommitdiffstats
path: root/test/firecfg/firecfg.sh
blob: 6f2bb52445bf82556f0b0882238297fbe478df08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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

sudo mkdir /tmp/ttt
sudo firecfg
sudo firecfg --bindir=/tmp/ttt

echo "TESTING: firecfg (test/firecfg/firecfg.exp)"
./firecfg.exp

sudo rm -fr /tmp/ttt