aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2017-06-05 07:00:56 -0400
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2017-06-05 07:01:30 -0400
commitf13526ed66d76bb36dc8a145d803f4913d772a2c (patch)
tree4878923ec4a6c76351ca6f49b95cf033b0f66be2 /test
parentbb3770f38a01f4032a717b4a07087a166482d0fe (diff)
examples/passthrough_ll: added support for create()
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_examples.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_examples.py b/test/test_examples.py
index 401f074..794b31c 100755
--- a/test/test_examples.py
+++ b/test/test_examples.py
@@ -87,10 +87,11 @@ def test_passthrough(tmpdir, name, debug, capfd):
tst_readdir(src_dir, work_dir)
tst_open_read(src_dir, work_dir)
tst_open_write(src_dir, work_dir)
+ tst_create(work_dir)
+ tst_passthrough(src_dir, work_dir)
if not is_ll:
tst_mkdir(work_dir)
tst_rmdir(src_dir, work_dir)
- tst_create(work_dir)
tst_unlink(src_dir, work_dir)
tst_symlink(work_dir)
if os.getuid() == 0:
@@ -103,7 +104,6 @@ def test_passthrough(tmpdir, name, debug, capfd):
tst_truncate_path(work_dir)
tst_truncate_fd(work_dir)
tst_open_unlink(work_dir)
- tst_passthrough(src_dir, work_dir)
subprocess.check_call([ os.path.join(basename, 'test', 'test_syscalls'),
work_dir, ':' + src_dir ])