Skip to content

Commit

Permalink
script show fix up
Browse files Browse the repository at this point in the history
Signed-off-by: Naresh Kamboju <[email protected]>
  • Loading branch information
Naresh Kamboju committed Mar 13, 2024
1 parent e7ea3a1 commit 2c244d2
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions automated/linux/xfstests/xfstests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,6 @@ run_xfstests() {
echo "====================="
}


# losetup "/dev/sdb"
losetup() {
DEVICE=$1
echo
echo "Loop setup : ${DEVICE}"
LOOP_DEV='losetup -f "${DEVICE}" --show'
return "${LOOP_DEV}"
}

# format_disk_partitions "/dev/sdb" "ext4"
format_disk_partitions() {
DEVICE=$1
Expand All @@ -135,7 +125,7 @@ fallocate_manipulate_file_space() {
SIZE=$2
echo
echo "fallocate - manipulate file space"
fallocate -l "${SIZE}" "${TEST_DIR}" --show
fallocate -l "${SIZE}" "${TEST_DIR}"
exit_on_fail "fallocate-l-${SIZE}-${TEST_DIR}"
}

Expand Down

0 comments on commit 2c244d2

Please sign in to comment.