#!/bin/sh

. ./test-functions

echo -n "Tainted ipc queue message test:	"
_wget=$(copy wget)
ipcrm -a
( # Sub-shell so as not to taint the test process.
	./programs/msgtool s 1 `cat confidential`
	./programs/msgtool r 1 | test_evil_bit $_wget --no-check-certificate -i - --quiet -O /dev/null
)
ipcrm -a
rm -f $_wget
