From 0ff3430dffef10c8c7f395cf546bb29037dcd101 Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Sat, 30 Sep 2023 22:08:25 -0700 Subject: [PATCH] Replace last /bin/bash with bash in test-run.sh The other three references to bash already use "bash" instead of "/bin/bash". Similarly, "#!/bin/bash" has already been replaced with "#!/usr/bin/env bash". Signed-off-by: Jonathan Wright --- tests/test-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-run.sh b/tests/test-run.sh index 42fdc38..a081e79 100755 --- a/tests/test-run.sh +++ b/tests/test-run.sh @@ -222,7 +222,7 @@ for die_with_parent_argv in "--die-with-parent" "--die-with-parent --unshare-pid # We have to loop here, because bwrap doesn't wait for the lock if # another process is holding it. If we're unlucky, lockf-n.py will # be holding it. - /bin/bash -c "while true; do $RUN ${die_with_parent_argv} --lock-file $(pwd)/lock sleep 1h; done" & + bash -c "while true; do $RUN ${die_with_parent_argv} --lock-file $(pwd)/lock sleep 1h; done" & childshellpid=$! # Wait for lock to be taken (yes hacky)