diff options
author | Jim Meyering <jim@meyering.net> | 2003-02-05 09:18:33 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-02-05 09:18:33 +0000 |
commit | 6f9963b8ac8c6ee784c7ac59ab3f6fb59cc72ff0 (patch) | |
tree | 3d922d9f087db66b57518ee669775c3049f08451 /tests/du | |
parent | a5f617b2b4a26156d1cb8b51de60758c98bab82e (diff) | |
download | coreutils-6f9963b8ac8c6ee784c7ac59ab3f6fb59cc72ff0.tar.xz |
typos
Diffstat (limited to 'tests/du')
-rwxr-xr-x | tests/du/exclude | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/du/exclude b/tests/du/exclude index 10e138a65..b8bdbe0ad 100755 --- a/tests/du/exclude +++ b/tests/du/exclude @@ -24,24 +24,24 @@ fi fail=0 du --exclude=x a | sed 's/^[0-9][0-9]* //' | sort > out || fail=1 -printf '===\n' +printf '===\n' >> out printf 'b\n' > excl -du --exclude-from=excl a | sed 's/^[0-9][0-9]* //' | sort > out || fail=1 +du --exclude-from=excl a | sed 's/^[0-9][0-9]* //' | sort >> out || fail=1 cat <<\EOF > exp -a/b/c +a a/b -a/u/v +a/b/c a/u -a -=== -a/x/y -a/x a/u/v -a/u +=== a +a/u +a/u/v +a/x +a/x/y EOF cmp out exp || fail=1 -test $fail = 1 && diff out exp 2> /dev/null +test $fail = 1 && diff -u out exp 2> /dev/null (exit $fail); exit $fail |