#!/bin/sh

. ./test-functions

# Run this after previous to check for problem file: .bash_history.
echo -n "Cat symlink tainted test:		"
( # Sub-shell so as not to taint the test process.
	_wget=$(copy wget)
	link=$(mktemp -u sft-XXXXXX)
	ln -s confidential $link
	cat $link | test_evil_bit $_wget --no-check-certificate -i - --quiet -O /dev/null
	rm -f $link
	rm -f $_wget
)
