Commit 0af84426 authored by Gerion Entrup's avatar Gerion Entrup
Browse files

extend hltest.py

parent 19349d32
......@@ -5,6 +5,11 @@ def main():
hellofile = hlfuse.FuseFile(0o644)
hellofile.set_content(b'hello world')
root.add_file('hello', hellofile)
subdir = hlfuse.FuseDir(0o500)
root.add_file('anderes Verzeichnis', subdir)
foofile = hlfuse.FuseFile(0o400)
subdir.add_file('foofile', foofile)
foofile.set_content(b'some string')
hlfuse.init(sys.argv[1], root)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment