Home
last modified time | relevance | path

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

/external/ltp/testcases/commands/mkswap/
Dmkswap01.sh24 real_size=`blockdev --getsize64 $TST_DEVICE`
116 local mkswap_cmd="mkswap $mkswap_op $op_arg $TST_DEVICE $size"
131 udevadm trigger --name-match=$TST_DEVICE
147 1) mkswap_test "" "" "$TST_DEVICE";;
148 2) mkswap_test "" "" "$TST_DEVICE" "$((DEVICE_SIZE-PAGE_SIZE/1024))";;
149 3) mkswap_test "-f" "" "$TST_DEVICE" "$((DEVICE_SIZE+PAGE_SIZE/1024))";;
150 4) mkswap_test "-c" "" "$TST_DEVICE";;
151 5) mkswap_test "-p" "2048" "$TST_DEVICE";;
153 7) mkswap_test "-v1" "" "$TST_DEVICE";;
/external/ltp/testcases/kernel/security/integrity/ima/tests/
Devm_overlay.sh30 device_backup="$TST_DEVICE"
31 TST_DEVICE="overlay"
86 tst_umount $TST_DEVICE
88 TST_DEVICE="$device_backup"
/external/ltp/testcases/commands/df/
Ddf01.sh42 DF_FS_TYPE=$(mount | grep "$TST_DEVICE" | awk '{print $5}')
108 grep ${TST_DEVICE} output | grep -q "${total}.*${used}"
146 df_test "df -v ${TST_DEVICE}"
190 grep ${TST_DEVICE} output | grep -q mntpoint
/external/ltp/testcases/lib/
Dtst_test.sh36 if ! tst_device release "$TST_DEVICE"; then
37 tst_res TWARN "Failed to release device '$TST_DEVICE'"
263 mount $mnt_opt $TST_DEVICE $TST_MNTPOINT $TST_MNT_PARAMS
277 local device="${1:-$TST_DEVICE}"
307 local device=${2:-$TST_DEVICE}
551 TST_DEVICE=$(tst_device acquire)
553 if [ ! -b "$TST_DEVICE" -o $? -ne 0 ]; then
554 unset TST_DEVICE
/external/ltp/testcases/commands/mkfs/
Dmkfs01.sh149 mkfs_test "" "$TST_FS_TYPE" "" "$TST_DEVICE"
154 mkfs_test "" "$TST_FS_TYPE" "" "$TST_DEVICE" "16000"
159 mkfs_test "" "$TST_FS_TYPE" "-c" "$TST_DEVICE"
/external/ltp/doc/
Dtest-writing-guidelines.txt2130 device is stored in '$TST_DEVICE' variable.
2382 tst_mkfs ext2 $TST_DEVICE
2383 # default params are $TST_FS_TYPE $TST_DEVICE
2395 The 'tst_mount' mounts '$TST_DEVICE' of '$TST_FS_TYPE' (optional) to
2400 If the path passed (optional, defaults to '$TST_DEVICE') to the 'tst_umount' is