#!/bin/sh

. ./test-functions

echo -n "Open never fails when tainted:	"
( # Sub-shell so as not to taint the test process.
	read IGNORE < confidential
	( 5> never ) 2> /dev/null # See test-functions for f.d. 3--4.
	if [ $? = 0 ]; then
		failmsg tainted opened never file for write
	else
		passmsg tainted no open never file for write
	fi
)
