The Samba-Bugzilla – Attachment 11136 Details for
Bug 11322
some tests use invalid command (fail)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Replace fail command with a valid one
testsuite-rename-fail-to-test_fail.patch (text/plain), 2.05 KB, created by
alexanderlaw
on 2015-06-09 15:48:56 UTC
(
hide
)
Description:
Replace fail command with a valid one
Filename:
MIME Type:
Creator:
alexanderlaw
Created:
2015-06-09 15:48:56 UTC
Size:
2.05 KB
patch
obsolete
>diff --git a/testsuite/chgrp.test b/testsuite/chgrp.test >index 0c1f05c..8cd6c10 100644 >--- a/testsuite/chgrp.test >+++ b/testsuite/chgrp.test >@@ -13,14 +13,14 @@ > > # Build some hardlinks > >-mygrps="`rsync_getgroups`" || fail "Can't get groups" >+mygrps="`rsync_getgroups`" || test_fail "Can't get groups" > mkdir "$fromdir" > > for g in $mygrps > do > name="$fromdir/foo-$g" > date > "$name" >- chgrp "$g" "$name" || fail "Can't chgrp" >+ chgrp "$g" "$name" || test_fail "Can't chgrp" > done > sleep 2 > >diff --git a/testsuite/duplicates.test b/testsuite/duplicates.test >index 3b4ebab..e64b808 100644 >--- a/testsuite/duplicates.test >+++ b/testsuite/duplicates.test >@@ -27,7 +27,7 @@ mkdir "$fromdir" > name1="$fromdir/name1" > name2="$fromdir/name2" > echo "This is the file" > "$name1" >-ln -s "$name1" "$name2" || fail "can't create symlink" >+ln -s "$name1" "$name2" || test_fail "can't create symlink" > > outfile="$scratchdir/rsync.out" > >diff --git a/testsuite/hardlinks.test b/testsuite/hardlinks.test >index c7c5314..740d725 100644 >--- a/testsuite/hardlinks.test >+++ b/testsuite/hardlinks.test >@@ -29,8 +29,8 @@ name3="$fromdir/name3" > name4="$fromdir/name4" > echo "This is the file" > "$name1" > ln "$name1" "$name2" || test_skipped "Can't create hardlink" >-ln "$name2" "$name3" || fail "Can't create hardlink" >-cp "$name2" "$name4" || fail "Can't copy file" >+ln "$name2" "$name3" || test_fail "Can't create hardlink" >+cp "$name2" "$name4" || test_fail "Can't copy file" > cat $srcdir/*.c >"$fromdir/text" > > checkit "$RSYNC -aHivv --debug=HLINK5 '$fromdir/' '$todir/'" "$fromdir" "$todir" >@@ -67,7 +67,7 @@ checkit "$RSYNC -aHivv --debug=HLINK5 --copy-dest='$todir' '$fromdir/' '$chkdir/ > > # Create a hard link that has only one part in the hierarchy. > echo "This is another file" >"$fromdir/solo" >-ln "$fromdir/solo" "$chkdir/solo" || fail "Can't create hardlink" >+ln "$fromdir/solo" "$chkdir/solo" || test_fail "Can't create hardlink" > > # Make sure that the checksum data doesn't slide due to an HLINK_BUMP() change. > $RSYNC -aHivc --debug=HLINK5 "$fromdir/" "$chkdir/" | tee "$outfile"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 11322
: 11136