mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-18 11:40:56 +00:00
btrfs-progs: tests: add 015-dump-super-garbage
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
ee7bb45ddc
commit
f919530b3a
17
tests/misc-tests/015-dump-super-garbage/test.sh
Executable file
17
tests/misc-tests/015-dump-super-garbage/test.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# let dump-super dump random data, must not crash
|
||||
|
||||
source $TOP/tests/common
|
||||
|
||||
check_prereq btrfs
|
||||
|
||||
run_check $TOP/btrfs inspect-internal dump-super /dev/urandom
|
||||
run_check $TOP/btrfs inspect-internal dump-super -a /dev/urandom
|
||||
run_check $TOP/btrfs inspect-internal dump-super -fa /dev/urandom
|
||||
run_check $TOP/btrfs inspect-internal dump-super -Ffa /dev/urandom
|
||||
run_check $TOP/btrfs inspect-internal dump-super -Ffa /dev/urandom
|
||||
run_check $TOP/btrfs inspect-internal dump-super -Ffa /dev/urandom
|
||||
run_check $TOP/btrfs inspect-internal dump-super -Ffa /dev/urandom
|
||||
run_check $TOP/btrfs inspect-internal dump-super -Ffa /dev/urandom
|
||||
run_check $TOP/btrfs inspect-internal dump-super -Ffa /dev/urandom
|
Loading…
Reference in New Issue
Block a user