Changeset 13203 for trunk/Nebulous-Server/t/05_server_lock_object.t
- Timestamp:
- May 3, 2007, 12:10:14 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/t/05_server_lock_object.t (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/t/05_server_lock_object.t
r12640 r13203 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 05_server_lock_object.t,v 1. 7 2007-03-28 21:32:54 jhoblitt Exp $5 # $Id: 05_server_lock_object.t,v 1.8 2007-05-03 22:10:14 jhoblitt Exp $ 6 6 7 7 use strict; … … 52 52 $neb->lock_object("foo", "read"); 53 53 }; 54 like($@, qr/ storage object does not exist/, "storage object does not exist");54 like($@, qr/is valid object key/, "storage object does not exist"); 55 55 56 56 Test::Nebulous->setup; … … 59 59 $neb->lock_object("foo", "write"); 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; … … 101 101 102 102 eval { 103 $neb->create_object("foo"); 104 103 105 $neb->lock_object("foo"); 104 106 }; … … 108 110 109 111 eval { 112 $neb->create_object("foo"); 113 110 114 $neb->lock_object("foo", "both"); 111 115 }; … … 115 119 116 120 eval { 121 $neb->create_object("foo"); 122 117 123 $neb->lock_object("foo", 'read', 3); 118 124 };
Note:
See TracChangeset
for help on using the changeset viewer.
