From 223d245adb10b3c2473b3cb82151f6d0b75aea82 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 10 Jun 2021 11:57:11 -0400 Subject: [PATCH] tests: Use --args multiple times The code supports this today, so test it. xref https://github.com/containers/bubblewrap/pull/426 where I thought it didn't. --- tests/test-run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test-run.sh b/tests/test-run.sh index da7265f5..7955f913 100755 --- a/tests/test-run.sh +++ b/tests/test-run.sh @@ -280,7 +280,9 @@ for die_with_parent_argv in "--die-with-parent" "--die-with-parent --unshare-pid done printf '%s--dir\0/tmp/hello/world\0' '' > test.args -$RUN --args 3 test -d /tmp/hello/world 3 test.args2 +printf '%s--dir\0/tmp/hello/world3\0' '' > test.args3 +$RUN --args 3 --args 4 --args 5 /bin/sh -c 'test -d /tmp/hello/world && test -d /tmp/hello/world2 && test -d /tmp/hello/world3' 3