#!/bin/sh

. ./test-functions

echo -n "Shell script taints trusted test:	"
_wget=$(copy wget)
( # Sub-shell so as not to taint the test process.
	read IGNORE < confidential
	setfattr -n security.simple-flow.trusted -v true $_wget
        test_no_evil_bit $_wget --no-check-certificate -i confidential --quiet -O /dev/null
)
rm -f $_wget
