From 5bc79bdbccc0d2dd7279837629091b31529d9870 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 13 Apr 2025 07:55:10 -0600 Subject: lib9p: testclient-p9p: Don't rely on my username --- lib9p/tests/testclient-p9p | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib9p/tests/testclient-p9p') diff --git a/lib9p/tests/testclient-p9p b/lib9p/tests/testclient-p9p index 81a7e50..2e5a6f3 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 \ -- cgit v1.2.3-2-g168b From bf32c2cd495099c93195b202158f46870ceed0ef Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sat, 12 Apr 2025 06:37:54 -0600 Subject: lib9p: Test+fix that auth data is tracked in the context --- lib9p/tests/testclient-p9p | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib9p/tests/testclient-p9p') diff --git a/lib9p/tests/testclient-p9p b/lib9p/tests/testclient-p9p index 2e5a6f3..9c9fb5e 100755 --- a/lib9p/tests/testclient-p9p +++ b/lib9p/tests/testclient-p9p @@ -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 \ -- cgit v1.2.3-2-g168b