Home
last modified time | relevance | path

Searched refs:TST_DEVICE (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/commands/mkswap/
Dmkswap01.sh37 DEVICE_SIZE=$((`blockdev --getsize64 $TST_DEVICE`/1024))
143 local mkswap_cmd="mkswap $mkswap_op $op_arg $TST_DEVICE $size"
171 mkswap_test "" "" "$TST_DEVICE"
172 mkswap_test "" "" "$TST_DEVICE" "$((DEVICE_SIZE-10000))"
173 mkswap_test "-f" "" "$TST_DEVICE" "$((DEVICE_SIZE+10000))"
174 mkswap_test "-c" "" "$TST_DEVICE"
175 mkswap_test "-p" "2048" "$TST_DEVICE"
177 mkswap_test "-v1" "" "$TST_DEVICE"
/external/ltp/testcases/commands/df/
Ddf01.sh35 tst_mkfs ${FS_TYPE} ${TST_DEVICE}
39 mount ${TST_DEVICE} mntpoint
49 DF_FS_TYPE=$(mount | grep "$TST_DEVICE" | awk '{print $5}')
54 tst_umount ${TST_DEVICE}
139 grep ${TST_DEVICE} output | grep -q "${total}.*${used}"
177 df_test "df -v ${TST_DEVICE}"
221 grep ${TST_DEVICE} output | grep -q mntpoint
/external/ltp/testcases/lib/
Dtest.sh272 TST_DEVICE=${LTP_DEV}
279 TST_DEVICE=$(losetup -f)
284 tst_resm TINFO "Found free device '${TST_DEVICE}'"
286 ROD_SILENT losetup ${TST_DEVICE} test_dev.img
297 losetup -a | grep -q ${TST_DEVICE}
299 losetup -d ${TST_DEVICE}
301 tst_resm TWARN "'losetup -d ${TST_DEVICE}' failed"
/external/ltp/testcases/commands/mkfs/
Dmkfs01.sh51 mount ${TST_DEVICE} mntpoint
94 tst_umount "$TST_DEVICE"
181 mkfs_test "" "$FS_TYPE" "" "$TST_DEVICE"
186 mkfs_test "" "$FS_TYPE" "" "$TST_DEVICE" "16000"
191 mkfs_test "" "$FS_TYPE" "-c" "$TST_DEVICE"