summaryrefslogtreecommitdiff
path: root/lib9p/tests/testclient-p9p
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-13 12:55:26 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-13 12:55:26 -0600
commit2a9d1f54758988ce23fbd1e9da4f0ad28c0edcbf (patch)
tree08b47b0e0772f590aa3ae48254590088a4b4402c /lib9p/tests/testclient-p9p
parent52674d0483e3754b039857be1d11798859c5bcef (diff)
parentbf32c2cd495099c93195b202158f46870ceed0ef (diff)
Merge branch 'lukeshu/9p-malloc'
Diffstat (limited to 'lib9p/tests/testclient-p9p')
-rwxr-xr-xlib9p/tests/testclient-p9p5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib9p/tests/testclient-p9p b/lib9p/tests/testclient-p9p
index 81a7e50..9c9fb5e 100755
--- a/lib9p/tests/testclient-p9p
+++ b/lib9p/tests/testclient-p9p
@@ -19,7 +19,7 @@ expect_lines() (
)
set -x
-client=(9p -a "localhost:${1}")
+client=(unshare --user 9p -a "localhost:${1}")
out=$("${client[@]}" ls -l '')
expect_lines \
@@ -27,7 +27,8 @@ expect_lines \
'--r--r--r-- M 0 root root 166 Oct 7 2024 README.md' \
'---w--w--w- M 0 root root 0 Oct 7 2024 shutdown' \
'--r--r--r-- M 0 root root 6 Oct 7 2024 slowread' \
- '--r--r--r-- M 0 root root 6 Oct 7 2024 slowread-flushable'
+ '--r--r--r-- M 0 root root 6 Oct 7 2024 slowread-flushable' \
+ '--r--r--r-- M 0 root root 9 Oct 7 2024 whoami'
out=$("${client[@]}" ls -l 'Documentation/')
expect_lines \