summaryrefslogtreecommitdiff
path: root/tests/fsck-tests/018-leaf-crossing-stripes/test.sh
blob: 2a3f6379faedddd9a0d95d3109076530e64a76b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

source "$TEST_TOP/common"

check_prereq btrfs

image=$(extract_image "./default_case.raw.xz")
run_check_stdout "$TOP/btrfs" check "$image" 2>&1 |
	grep -q "crossing stripe boundary" ||
	_fail "no expected error message in the output"

rm -f "$image"