[PATCH] tests: adapt test to accommodate just-changed code
Pete Zaitcev
zaitcev at redhat.com
Mon Mar 12 17:51:01 UTC 2012
On Mon, 12 Mar 2012 17:31:43 +0100
Jim Meyering <jim at meyering.net> wrote:
> >> +++ b/t/basic
> >> # Ensure that an attempt to add each reserved attribute fails.
> >> +curl -f -X PUT $bucket/rsvd_attr # Create the object we'll use.
> >> for attr in $attr_words; do
> >
> > Strange, I applied your main patch and tests passed without this.
> I don't see how it could be a race or timing sensitive,
> but ran that one test all by itself, just to be sure:
>
> make check -C t TESTS=basic VERBOSE=yes
I know what it is. If the very first version is used, the one which
returns 400 and empty body, then the t/basic succeeds. If 404 is
returned, it fails.
-- Pete
More information about the iwhd-devel
mailing list