#!/bin/sh

. ./test-functions

echo -n "ptrace taint test:			"
tmp=$(mktemp sft-XXXXXX)
cat <<EOF > $tmp
break exit
commands
continue
end
run confidential /dev/null
quit
EOF
_gdb=$(copy gdb)
./programs/settrusted $_gdb
test_taint_not_logged $_gdb cp -x $tmp
rm -f $_gdb
rm -f $tmp
