Skip to content

Commit

Permalink
du01.sh: Fix failures on Btrfs on ppc32le
Browse files Browse the repository at this point in the history
The ppc32le has 64k pagesize and due to Btrfs internal implementation
details the size of a symlink is reported to be a pagesize large. Hence
the test assertions 5 and 6 fails because the reported size is sligtly
larger.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
  • Loading branch information
metan-ucw committed Oct 5, 2016
1 parent 70a21de commit ebfb345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testcases/commands/du/du01.sh
Expand Up @@ -89,7 +89,7 @@ block_size=512
check1="10[2-3][0-9][0-9][[:space:]]\."
check2="10[2-3][0-9][0-9][[:space:]]testfile"
check3="[0-4][[:space:]]\.\/testdir\/testsymlink"
check5="20[4-5][0-9][0-9][[:space:]]\."
check5="20[4-6][0-9][0-9][[:space:]]\."
check7="10[4-5][0-9][0-9]\{4\}[[:space:]]\."
check9="10[2-3][0-9][0-9][[:space:]]total"
check11="10[2-3][0-9][0-9][[:space:]]testdir\/testsymlink"
Expand Down

0 comments on commit ebfb345

Please sign in to comment.