]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/test/test_system.py
deletion phase3: add a sqlite database to track renew/cancel-lease secrets, implement...
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / test / test_system.py
index 606839cda9741edf9568b66227afb34fa7377f5d..95e20cbc2fd00542e5ab85d9921fb739bd4eafda 100644 (file)
@@ -616,8 +616,8 @@ class SystemTest(testutil.SignalMixin, unittest.TestCase):
             if not filenames:
                 continue
             pieces = dirpath.split(os.sep)
-            if pieces[-2] == "storage":
-                # we're sitting in .../storage/$SINDEX , and there are
+            if pieces[-3] == "storage" and pieces[-2] == "shares":
+                # we're sitting in .../storage/shares/$SINDEX , and there are
                 # sharefiles here
                 filename = os.path.join(dirpath, filenames[0])
                 break