|
From: <iye...@us...> - 2003-01-06 20:49:39
|
Update of /cvsroot/ltp/ltp/testcases/commands/eject
In directory sc8-pr-cvs1:/tmp/cvs-serv9069
Modified Files:
eject-tests.sh
Log Message:
Modified Test #3 to clean up properly
Index: eject-tests.sh
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/eject/eject-tests.sh,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- eject-tests.sh 6 Jan 2003 20:47:58 -0000 1.6
+++ eject-tests.sh 6 Jan 2003 20:49:35 -0000 1.7
@@ -184,11 +184,12 @@
then
cp $LTPTMP/fstab.bak /etc/fstab &>/dev/null
else
- $LTPBIN/tst_res TINFO "Test #3: Could not restore /etc/fstab coz"
- $LTPBIN/tst_res TINFO "Test #3: backup file $LTPTMP/fstab.bak was lost!"
+ $LTPBIN/tst_resm TINFO "Test #3: Could not restore /etc/fstab coz"
+ $LTPBIN/tst_resm TINFO "Test #3: backup file $LTPTMP/fstab.bak was lost!"
fi
#CLEANUP & EXIT
# remove all the temporary files created by this test.
-rm -f $LTPTMP/tst_eject*
+rm -fr $LTPTMP/tst_eject* $LTPTMP/cdrom
+
exit $TFAILCNT
|