#!/bin/sh

. ./test-functions

echo -n "FIFO untainted test:		"
( # Sub-shell so as not to taint the test process.
	fifo=$(mktemp -u sft-XXXXXX)
	mkfifo $fifo
        _wget=$(copy wget)
	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
)
