nejucomo
e538651947
fuse: Reorganize directory tree and modify runtests.py to run against both implementations...
...
Currently, fuse impl_b does not support a --basedir argument, and always
uses ~/.tahoe, which makes it incompatible with these system tests.
2008-06-06 22:19:23 -07:00
nejucomo
7ea7fd751e
fuse_a: runtests.py: The current ubuntu python-fuse ignores the -f option and always forks, so this updates runtests to use fusermount for clean shutdown.
2008-05-31 20:16:05 -07:00
nejucomo
d0ff815234
fuse_a: logging: Make logging a bit cleaner, and make it log to the correct location!
2008-05-31 19:22:18 -07:00
nejucomo
46aa31da92
fuse_a: Update todo/wishlist comments in tahoe_fuse.py to reflect my intent.
2008-05-31 19:21:42 -07:00
nejucomo
82f0cc106b
fuse_a: runtests: Add some TODOs and FIXMEs in the comments.
2008-05-31 19:21:17 -07:00
nejucomo
af5a91229f
fuse_a: Add more explanation to the failure message when simplejson cannot be imported.
2008-05-31 19:06:00 -07:00
nejucomo
75f82bf734
fuse_a: Fix a bug in test cleanup code.
2008-05-31 19:05:41 -07:00
nejucomo
73f6b974dc
fuse_a: Remove unused webport files...
...
This prevents the third client from failing to start due to a port
collision with the second client. The first client, which is used for
testing has a random high port written to webport, and thus does not
interfere.
2008-05-31 19:03:51 -07:00
nejucomo
2102358550
fuse_a: Fix the expected path in runtests.py.
2008-05-31 00:42:02 -07:00
Zooko O'Whielacronx
c88ea89f14
contrib: add a note about Armin Rigo's fuse implementation
2008-04-28 07:05:44 -07:00
nejucomo
67660232f1
tahoe_fuse: system test: Verify file contents can be properly read.
2008-01-30 03:14:48 -07:00
nejucomo
28552e5967
tahoe_fuse: system test: Populate a testdir with files and empty children directories, then test the fuse interface for proper listings and size metadata.
2008-01-30 02:59:43 -07:00
nejucomo
7240021d1c
tahoe_fuse: system test: Create a separate directory for each test and pass the cap and local path to each test. Add two basic sanity tests for empty directories.
2008-01-30 02:57:54 -07:00
nejucomo
9ecfbc62cd
tahoe_fuse: system test: Replace repeated attempts at webapi calls with single calls, abstract webapi calls into a single function.
2008-01-30 02:56:25 -07:00
nejucomo
0dbdb0f871
tahoe_fuse: system test: Remove some needless comments.
2008-01-30 02:55:53 -07:00
nejucomo
5e94c07045
tahoe_fuse: system test: Move test summary to end of output.
2008-01-30 02:46:24 -07:00
nejucomo
ab3d399ac7
tahoe_fuse: system tests: Update comments.
2008-01-30 02:45:54 -07:00
nejucomo
98e92e2a48
tahoe_fuse: system test: Make output checking into non-fatal warnings, and make patterns looser.
2008-01-30 01:10:53 -07:00
nejucomo
3aceb6be1e
tahoe_fuse.py: system test: Distinguish between TestFailures and unexpected exceptions during testing (and fix a typo).
2008-01-28 22:42:28 -07:00
nejucomo
7421d99f18
tahoe_fuse.py: system test: setup: lexically sort test names, create a TestFailure class, implement an empty directory listing test.
2008-01-28 22:40:47 -07:00
nejucomo
597ab62d12
tahoe_fuse.py: system test: setup: fixed a bug in which the mointpoint was not created before mounting.
2008-01-28 22:39:13 -07:00
nejucomo
7fe264d280
tahoe_fuse.py: system test: Many changes to framework...
...
The flow control has been de-obfuscated a bit.
Some output changes.
The test framework has quite a few race conditions, but it does a reasonable job of setting up and cleaning up.
2008-01-28 22:27:19 -07:00
nejucomo
b4c566efca
Individual tests run after all the setup layers are in place.
2008-01-28 22:25:11 -07:00
nejucomo
de022b2115
tahoe_fuse: cmdline args & system test: Allow nonstandard client basedirs to be specified and update the system tests to use this feature...
...
The commandline option handling of the version of python-fuse I use is arcane. This is an ugly hack.
2008-01-20 20:56:27 -07:00
nejucomo
57da456dc9
tahoe_fuse: rename decorators for clarity.
2008-01-20 20:26:57 -07:00
nejucomo
c621fe1aa6
Small log output change.
2008-01-20 20:18:53 -07:00
nejucomo
ba4458d502
tahoe_fuse: system test: webapi connection: bug fix and small log output change.
2008-01-20 20:10:31 -07:00
nejucomo
b4b410eccf
tahoe_fuse: system test: Add FIXME comments.
2008-01-20 20:06:19 -07:00
nejucomo
d1c0aa6ea6
tahoe_fuse: system test: Manage multiple clients for test grid... System test setup is almost complete.
...
This is a little convoluted because of the "layer" design, but it appears
to function correctly and do properly ordered cleanup.
Before system test setup is complete, tahoe_fuse.py needs to be modified
to allow arbitrary client base directories.
2008-01-20 20:02:20 -07:00
nejucomo
1f42953fb4
tahoe_fuse: system test: Attempt to create a dirnode to place in <basedir>/private/root_dir.cap, but this fails because the network is too small...
...
This patch also factors out the "polling_operation" pattern.
2008-01-20 18:47:47 -07:00
nejucomo
1295c1e4ec
tahoe_fuse: system test: Launch the fuse interface.
2008-01-20 17:55:51 -07:00
nejucomo
c225c657d4
tahoe_fuse: system test: factor out some cleanup code.
2008-01-20 17:54:48 -07:00
nejucomo
c7a557ba69
tahoe_fuse: system test: Copy the introducer.furl with a possible race condition due to timeout.
2008-01-20 17:09:44 -07:00
nejucomo
026f2d0df5
A start at adding a system test for tahoe_fuse. Incomplete...
2008-01-20 16:54:56 -07:00
nejucomo
2b9ba229be
Remove a redundant assertion for clarity.
2008-01-19 00:20:32 -07:00
nejucomo
686350f6cc
Change stdout to rudimentary file-based logging.
2008-01-19 00:18:54 -07:00
nejucomo
0e0ab5f394
Rename the unittest script for tahoe-fuse.
2008-01-19 00:16:12 -07:00
nejucomo
eaba225e1f
Wouldn't it be nice to reuse the allmydata library?
2008-01-12 21:41:26 -07:00
nejucomo
0b5f9ff5c3
Support url-encoding in caps.
2008-01-12 21:41:07 -07:00
nejucomo
dc7e794ee8
Make my contrib/README look like the allmydata.org version.
2008-01-12 21:00:13 -07:00
nejucomo
a339ba6feb
The start of unit tests for tahoe_fuse.py.
2008-01-12 19:56:03 -07:00
nejucomo
52fc80a54b
Formatting changes and a few FIXMEs for tahoe_fuse.py
2008-01-12 19:55:38 -07:00
nejucomo
19fdb20bac
Remove redundant docs from tahoe_fuse.py docstrings which are in the README. Add implementation-specific notes in the doc strings.
2008-01-12 19:54:33 -07:00
nejucomo
ddeb5eab54
Change the name of tahoe_fuse.py to something importable.
2008-01-12 18:50:53 -07:00
nejucomo
7214f2f8b8
A patch to make tahoe-fuse.py work with 0.7.0 plus a howto README.
2008-01-12 17:06:39 -07:00
nejucomo
c555f1abb4
Use "my_vdrive.uri" for the root. The old "fuse-bookmarks.uri" served exactly the same purpose.
2007-11-20 14:00:01 -07:00
nejucomo
326aa73a67
Add extensions/README and more doc strings to the fuse extension.
2007-11-20 13:58:42 -07:00
nejucomo
0b11a43e6c
User friendly error messages, and updates to use new URI formats.
2008-01-08 12:21:21 -07:00
Zooko O'Whielacronx
f2e9965c3c
tahoe-fuse: print out helpful error messages if the caller didn't give the right context
2008-01-08 10:40:35 -07:00
Brian Warner
1f870fdb1b
contrib/README: make it clear that these things might not work
2008-01-04 19:52:16 -07:00
Brian Warner
f9e8bd2a98
rename 'extensions' to 'contrib', with the goal of making it clear that contrib/ things might not work
2008-01-04 19:51:54 -07:00