btrfs-progs/tests/misc-tests/037-fi-show-on-new-file/test.sh
David Sterba 7d06a7e561 btrfs-progs: tests: use _mktemp_local for temporary files
Signed-off-by: David Sterba <dsterba@suse.com>
2022-10-11 09:06:13 +02:00

14 lines
269 B
Bash
Executable File

#!/bin/bash
# test for 'filesystem show' on fresh local file
source "$TEST_TOP/common"
check_prereq mkfs.btrfs
check_prereq btrfs
_mktemp_local img 3g
run_check $SUDO_HELPER "$TOP/mkfs.btrfs" -f img
run_check $SUDO_HELPER "$TOP/btrfs" filesystem show img
rm -f img