From: Subrata <sub...@us...> - 2007-12-20 09:33:22
|
Update of /cvsroot/ltp/ltp/testcases/kernel/security/selinux-testsuite/tests/file In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv20681/ltp/testcases/kernel/security/selinux-testsuite/tests/file Modified Files: selinux_file.sh Log Message: Reverting Back StephenÅ Patch and Applying JeffÅ Patch for controlling the tty issue. Also a minor change for the ia64 compile failure. Index: selinux_file.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/security/selinux-testsuite/tests/file/selinux_file.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** selinux_file.sh 8 Nov 2005 16:49:34 -0000 1.3 --- selinux_file.sh 20 Dec 2007 09:32:56 -0000 1.4 *************** *** 170,173 **** --- 170,178 ---- TST_COUNT=7 RC=0 + echo -n "" > /dev/tty + if [ $? -ne 0 ]; then + echo "$TCID INFO : No controlling tty." + return $RC + fi # *************** *** 333,336 **** --- 338,346 ---- TST_COUNT=14 RC=0 + echo -n "" > /dev/tty + if [ $? -ne 0 ]; then + echo "$TCID INFO : No controlling tty." + return $RC + fi # |