Home | History | Annotate | Download | only in smack

Lines Matching refs:testfile

33 testfile="testfile"
38 smack_notroot /bin/sh -c "echo InitialData 2>/tmp/smack_fail.log > $testfile"
39 if [ ! -f "$testfile" ]; then
40 tst_brkm TFAIL "Test file \"$testfile\" can not be created."
43 setfattr --name=security.SMACK64 --value=TheOther "$testfile"
44 setto=$(getfattr --only-values -n security.SMACK64 -e text $testfile)
47 tst_brkm TFAIL "Test file \"$testfile\" labeled \"$setto\" incorrectly."
63 got_read=$(smack_notroot $CAT "$testfile")
66 tst_brkm TFAIL "Read failed for \"$testfile\" labeled \"TheOther\"."
70 got_read=$(smack_notroot $CAT "$testfile" 2> /dev/null)
73 tst_brkm TFAIL "Read should have failed for \"$testfile\" labeled" \