mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-09 02:31:19 +00:00
The templates need to be renamed, so make it more suggestive by prepending the expected name of the script test.sh. Also fix the permissions and make it 755 so it's not missed later as this would not execute the script. Signed-off-by: David Sterba <dsterba@suse.com>
13 lines
305 B
Bash
Executable File
13 lines
305 B
Bash
Executable File
#!/bin/bash
|
|
# Simple test to create a new filesystem and test that it can be mounted
|
|
|
|
source "$TEST_TOP/common" || exit
|
|
|
|
setup_root_helper
|
|
prepare_test_dev
|
|
|
|
run_check_mkfs_test_dev
|
|
run_check_mount_test_dev
|
|
run_check $SUDO_HELPER dd if=/dev/zero of="$TEST_MNT"/file bs=1M count=1
|
|
run_check_umount_test_dev
|