#!/bin/sh

. ./test-functions

echo -n "FIFO untainted test:		"
fifo=$(mktemp -u sft-XXXXXX)
mkfifo $fifo
_wget=$(copy wget)
( # Sub-shell so as not to taint the test process.
	echo https://$SF_HOSTNAME > $fifo &
	head -n 1 $fifo | test_no_evil_bit $_wget --no-check-certificate -i - --quiet -O /dev/null
)
rm -f $fifo
rm -f $_wget
