Changeset 13203 for trunk/Nebulous-Server/t/06_server_unlock_object.t
- Timestamp:
- May 3, 2007, 12:10:14 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/t/06_server_unlock_object.t (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/t/06_server_unlock_object.t
r12641 r13203 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 06_server_unlock_object.t,v 1. 7 2007-03-28 21:41:11jhoblitt Exp $5 # $Id: 06_server_unlock_object.t,v 1.8 2007-05-03 22:10:14 jhoblitt Exp $ 6 6 7 7 use strict; … … 59 59 $neb->unlock_object("foo", "read"); 60 60 }; 61 like($@, qr/ storage object does not exist/, "storage object does not exist");61 like($@, qr/is valid object key/, "storage object does not exist"); 62 62 63 63 Test::Nebulous->setup; … … 66 66 $neb->unlock_object("foo", "write"); 67 67 }; 68 like($@, qr/ storage object does not exist/, "storage object does not exist");68 like($@, qr/is valid object key/, "storage object does not exist"); 69 69 70 70 Test::Nebulous->setup; … … 116 116 117 117 eval { 118 $neb->create_object("foo"); 119 118 120 $neb->unlock_object("foo"); 119 121 }; … … 123 125 124 126 eval { 127 $neb->create_object("foo"); 128 125 129 $neb->unlock_object("foo", "both"); 126 130 }; … … 130 134 131 135 eval { 136 $neb->create_object("foo"); 137 132 138 $neb->unlock_object("foo", 'read', 3); 133 139 };
Note:
See TracChangeset
for help on using the changeset viewer.
