#!/bin/sh

. ./test-functions

echo -n "Tainted ipc queue message test:	"
( # Sub-shell so as not to taint the test process.
	_wget=$(copy wget)
	ipcrm -a
	./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
)
