[PATCH] tests: adapt test to accommodate just-changed code

Jim Meyering meyering at redhat.com
Sat Mar 10 10:27:50 UTC 2012


* t/basic: Adjust another test that set an attribute on a
nonexistent object: create the rsvd_attr object first.
---
 t/basic |    1 +
 1 file changed, 1 insertion(+)

diff --git a/t/basic b/t/basic
index eba590d..3593afd 100755
--- a/t/basic
+++ b/t/basic
@@ -257,6 +257,7 @@ case $attr_words in
 esac

 # 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
   case $attr in
     # _attrs is defined only for GET, so evokes 404 rather than 400
--
1.7.10.rc0.17.g472b5


More information about the iwhd-devel mailing list