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q13YKj&5?!BSdbaMcU->IZqtqzAb|Paxoz
zP^knpDP0uR^$J%(W=zaXr=*aDm3XelW_G~z13C4&?M-vr&kAC4C9PK(tJhX2ogaIH
z4ymQy&bt5klB`pp!;|@eWL^AZgr-K;6a@GaGSc&wj}l2sb1){m+nvdd`C#Qf6S%nu
zmTX@_&a3kgx9Wdth|=nbMbfU1fbHZzBWWVRY{DkShVmPmGgk_tx9dp@*bWtppRwD*
zasH0(Xzv+3<_Q%PN($w)Fp`rQ3qK%`N9BEaV4)e>#c@!s3Q;KnxiEfRRmL8;YU!G=
z?f&E)hx=$|;B3royJTQOErEhAY4aODihn_4g6@voD#?&-wYIPKz*gpDVj>mrWaPK%
zB<-`G8;xfDk`Brk*sA*IZfI1#Za3v|vRy{uq{8y?dtc(8Z0syaI=vnG7q6C=^rS*^
znOa268Agzq_LMJs%=ha^*aUk8>%?IiuHLg_s=w;6u7yzNdVujcH!!%1DzGNoY%A35
zdLyg{L~JGHZ3zf9nZE4VLinCdMSL?sbN~JYXDB_l>d~<C)Hc*LjUIm-ktb_?y73)3
zp6(Xl&HySW;~lO|b(Xdu#<QQn0u2obnhTe=`iXe~VQ+}rp&Lbs-yO5x7mlIoq!73`
zwOTv*T>F*Re<GE+Gnb^K{@2W2C1O6jTf(@wdG+zofJMWi;~ZN@)aK<DERy4jvs}mj
PY1%LE6WAy44<zt6YgYym
literal 0
HcmV?d00001
new file mode 100755
@@ -0,0 +1,15 @@
+#!/bin/bash
+# In order to confirm that 'btrfs check' supports checking symlinks
+# with immutable/append attributes that are not possible to set by standard
+# syscall or ioctl so they're handled as corruption
+
+source "$TEST_TOP/common"
+
+check_prereq btrfs
+
+check_image() {
+ run_mustfail "check should report errors about inode flags" \
+ $SUDO_HELPER "$TOP/btrfs" check "$1"
+}
+
+check_all_images