apparmor/tests/stress/subdomain/stress.sh

20 lines
440 B
Bash
Raw Normal View History

#!/bin/sh
. ./uservars.inc
cat change_hat.profile child.profile open.profile | ${subdomain_parser}
./open & ./open /tmp/foobar &
./child & ./child &
./change_hat > /dev/null 2>&1 & ./change_hat /tmp/foo > /dev/null 2>&1 &
while :
do
cat change_hat.profile | ${subdomain_parser} -r > /dev/null 2>&1 &
cat child.profile | ${subdomain_parser} -r > /dev/null 2>&1 &
cat open.profile | ${subdomain_parser} -r > /dev/null 2>&1 &
done &