]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
check_grid.py: update to match new CLI: 'put - TARGET' instead of 'put TARGET'
authorBrian Warner <warner@lothar.com>
Sat, 2 Aug 2008 02:48:56 +0000 (19:48 -0700)
committerBrian Warner <warner@lothar.com>
Sat, 2 Aug 2008 02:48:56 +0000 (19:48 -0700)
src/allmydata/test/check_grid.py

index 8b2fc9fc6c709e18b8ec7c3e88479b6756d3961d..46658698e7bfb2d08e1cdf3d529dd844882ef05e 100644 (file)
@@ -183,10 +183,10 @@ class GridTester:
         self.put_mutable("recentlog", "Recent Mutable Log Header\n\n")
 
     def put(self, fn, data):
-        self.cli("put", "testgrid:"+fn, stdin=data, ignore_stderr=True)
+        self.cli("put", "-", "testgrid:"+fn, stdin=data, ignore_stderr=True)
 
     def put_mutable(self, fn, data):
-        self.cli("put", "--mutable", "testgrid:"+fn,
+        self.cli("put", "--mutable", "-", "testgrid:"+fn,
                  stdin=data, ignore_stderr=True)
 
     def update(self, fn):