blob: a1077a8d2dd81386eb1f8e2439a6412a23659d10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
#
# confirm whether check detects name and hash mismatch in dir_item
source "$TOP/tests/common"
check_prereq btrfs
image=$(extract_image "./default_case.img.xz")
run_mustfail "dir_item hash mismatch not found" "$TOP/btrfs" check "$image"
rm -f "$image"
|