From: Brian Warner <warner@lothar.com>
Date: Sat, 2 Aug 2008 02:48:56 +0000 (-0700)
Subject: check_grid.py: update to match new CLI: 'put - TARGET' instead of 'put TARGET'
X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/flags/pb.xhtml?a=commitdiff_plain;h=4fb03c25100ccbbab4c1bb395ee25bf2719290d1;p=tahoe-lafs%2Ftahoe-lafs.git

check_grid.py: update to match new CLI: 'put - TARGET' instead of 'put TARGET'
---

diff --git a/src/allmydata/test/check_grid.py b/src/allmydata/test/check_grid.py
index 8b2fc9fc..46658698 100644
--- a/src/allmydata/test/check_grid.py
+++ b/src/allmydata/test/check_grid.py
@@ -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):