diff options
author | Wayne Davison <wayned@samba.org> | 2007-07-15 06:37:17 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2007-07-15 06:37:17 +0000 |
commit | b88f6fe7e5f0567ac34747d83c8704c28b2ac3ef (patch) | |
tree | 5b2608adc9bc39d6cbe02aa6f6b8cefdc6225fc1 /testsuite/delete.test | |
parent | e6109f496cd50da4da536241634cd7774b347ca8 (diff) | |
download | rsync-b88f6fe7e5f0567ac34747d83c8704c28b2ac3ef.tar.gz |
Let's try using egrep instead of grep since grep on Solaris
systems was failing to work right.
Diffstat (limited to 'testsuite/delete.test')
-rw-r--r-- | testsuite/delete.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/delete.test b/testsuite/delete.test index 077a59d8..fae8fe26 100644 --- a/testsuite/delete.test +++ b/testsuite/delete.test @@ -23,12 +23,12 @@ echo extra >"$todir"/emptydir/subdir/remove4 # Also, make sure that --dry-run --del doesn't output anything extraneous. $RSYNC -av "$fromdir/" "$chkdir/copy/" >"$tmpdir/copy.out" 2>&1 cat "$tmpdir/copy.out" -grep -v '^\(created directory\|sent\|total size\) ' "$tmpdir/copy.out" >"$tmpdir/copy.new" +egrep -v '^(created directory|sent|total size) ' "$tmpdir/copy.out" >"$tmpdir/copy.new" mv "$tmpdir/copy.new" "$tmpdir/copy.out" $RSYNC -avn --del "$fromdir/" "$chkdir/copy2/" >"$tmpdir/copy2.out" 2>&1 || true cat "$tmpdir/copy2.out" -grep -v '^\(created directory\|sent\|total size\) ' "$tmpdir/copy2.out" >"$tmpdir/copy2.new" +egrep -v '^(created directory|sent|total size) ' "$tmpdir/copy2.out" >"$tmpdir/copy2.new" mv "$tmpdir/copy2.new" "$tmpdir/copy2.out" diff $diffopt "$tmpdir/copy.out" "$tmpdir/copy2.out" |