|
From: <iye...@us...> - 2003-01-04 05:03:26
|
Update of /cvsroot/ltp/ltp/testcases/commands/eject
In directory sc8-pr-cvs1:/tmp/cvs-serv29925
Modified Files:
eject-tests.sh
Log Message:
Modified. Return count RC should be re-set before each test so that
failure due to a previous test does not affect the subsequent tests.
Index: eject-tests.sh
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/eject/eject-tests.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- eject-tests.sh 4 Jan 2003 05:00:56 -0000 1.4
+++ eject-tests.sh 4 Jan 2003 05:03:24 -0000 1.5
@@ -107,12 +107,14 @@
TFAILCNT=$((TFAILCNT+1))
fi
+
# Test #3
# Test the eject command will eject the default cdrom device and also unmount
# device if it is currently mounted.
export TCID=eject03
export TST_COUNT=3
+RC=0
$LTPBIN/tst_resm TINFO "Test #3: eject command will eject the default cdrom"
$LTPBIN/tst_resm TINFO "Test #3: device and also unmount the device if it"
|