Lines Matching refs:LTPBIN

52 if [ -z $LTPBIN && -z $LTPROOT ]
54 LTPBIN=./
56 LTPBIN=$LTPROOT/testcases/bin
73 $LTPBIN/tst_resm TINFO "Test #1: eject -d will list the default device."
84 $LTPBIN/tst_resm TPASS "Test #1: eject -d lists the default device"
86 $LTPBIN/tst_res TFAIL $LTPTMP/tst_eject.out \
92 $LTPBIN/tst_res TFAIL $LTPTMP/tst_eject.out \
104 $LTPBIN/tst_resm TINFO "Test #2: eject command with no options"
105 $LTPBIN/tst_resm TINFO "Test #2: will eject the default cdrom device."
116 $LTPBIN/tst_resm TPASS "Test #2: eject succeded"
118 $LTPBIN/tst_res TFAIL $LTPTMP/tst_eject.out \
124 $LTPBIN/tst_res TFAIL $LTPTMP/tst_eject.res \
138 $LTPBIN/tst_resm TINFO "Test #3: eject command will eject the default cdrom"
139 $LTPBIN/tst_resm TINFO "Test #3: device and also unmount the device if it"
140 $LTPBIN/tst_resm TINFO "Test #3: is currently mounted."
146 $LTPBIN/tst_resm TINFO \
152 $LTPBIN/tst_brk TBROK $LTPTMP/tst_eject.out NULL \
161 $LTPBIN/tst_brk TBROK $LTPTMP/tst_eject.out NULL \
170 $LTPBIN/tst_brk TBROK $LTPTMP/tst_eject.out NULL \
182 $LTPBIN/tst_resm TPASS "Test #3: eject unmounted device"
184 $LTPBIN/tst_resm TFAIL \
189 $LTPBIN/tst_res TFAIL $LTPTMP/tst_eject.out \
199 $LTPBIN/tst_resm TINFO "Test #3: Could not restore /etc/fstab coz"
200 $LTPBIN/tst_resm TINFO "Test #3: backup file $LTPTMP/fstab.bak was lost!"
212 $LTPBIN/tst_resm TINFO "Test #4: eject -a on|1|off|0 will "
213 $LTPBIN/tst_resm TINFO "Test #4: enable/disable auto-eject mode"
214 $LTPBIN/tst_resm TINFO "Test #4: NOTE!!! Some devices do not support this mode"
215 $LTPBIN/tst_resm TINFO "Test #4: so test may fail."
221 $LTPBIN/tst_resm TINFO "$LTPTMP/cdrom exists, skip creating the directory"
226 $LTPBIN/tst_brk TBROK $LTPTMP/tst_eject.out NULL \
238 $LTPBIN/tst_resm TINFO "$LTPTMP/cdrom entry exists in /etc/fstab"
244 $LTPBIN/tst_brk TBROK $LTPTMP/tst_eject.out NULL \
257 $LTPBIN/tst_brk TBROK $LTPTMP/tst_eject.out NULL \
265 $LTPBIN/tst_res TFAIL $LTPTMP/tst_eject.out NULL \
273 $LTPBIN/check_tray || RC=$?
276 $LTPBIN/tst_brkm TBROK NULL \
287 $LTPBIN/tst_brk TBROK $LTPTMP/tst_eject.out NULL \
291 $LTPBIN/check_tray || RC=$?
294 $LTPBIN/tst_resm TPASS "Test #4: /dev/cdrom is tray is open"
296 $LTPBIN/tst_resm TFAIL "Test #4: /dev/cdrom is tray is still closed"
305 $LTPBIN/tst_res TFAIL $LTPTMP/tst_eject.out NULL \
309 $LTPBIN/tst_resm TINFO "Test #4: auto-eject feature disabled"
317 $LTPBIN/tst_res TFAIL $LTPTMP/tst_eject.res NULL \
324 $LTPBIN/check_tray || RC=$?
327 $LTPBIN/tst_brkm TBROK NULL \
337 $LTPBIN/tst_brk TBROK $LTPTMP/tst_eject.out NULL \
345 $LTPBIN/tst_brk TBROK $LTPTMP/tst_eject.out NULL \
350 $LTPBIN/check_tray || RC=$?
353 $LTPBIN/tst_resm TFAIL \
357 $LTPBIN/tst_resm TPASS "Test #4: eject can enable and disable auto-eject"
365 $LTPBIN/tst_resm TINFO "Test #4: Could not restore /etc/fstab coz"
366 $LTPBIN/tst_resm TINFO "Test #4: backup file $LTPTMP/fstab.bak was lost!"