Commit 3574e007 authored by Ramon Nou's avatar Ramon Nou
Browse files

lseek extra WHENCE testing

parent 90e03f6c
......@@ -129,7 +129,17 @@ def test_lseek(gkfs_daemon, gkfs_client):
assert ret.retval == -1 #FAILS
assert ret.errno == 22
ret = gkfs_client.lseek(file_a, 0, os.SEEK_DATA)
assert ret.retval == -1
assert ret.errno == errno.EINVAL
ret = gkfs_client.lseek(file_a, 0, os.SEEK_HOLE)
assert ret.retval == -1
assert ret.errno == errno.EINVAL
ret = gkfs_client.lseek(file_a, 0, 666)
assert ret.retval == -1
assert ret.errno == errno.EINVAL
......
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