From 871ab5d10b42acb1071e9f6f8578458565a81c43 Mon Sep 17 00:00:00 2001 From: Keqiao Zhang Date: Wed, 6 Dec 2023 09:45:08 +0800 Subject: [PATCH] check-xrun-injection.sh: Fix bad quoting when injecting xrun Previous command line doesn't work on some platforms, it shows that there's no $xrun_injection file or directory. This patch fixes the bad quoting. Signed-off-by: Keqiao Zhang --- test-case/check-xrun-injection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-case/check-xrun-injection.sh b/test-case/check-xrun-injection.sh index c59c66b2..88f54550 100755 --- a/test-case/check-xrun-injection.sh +++ b/test-case/check-xrun-injection.sh @@ -75,7 +75,7 @@ func_xrun_injection() exit 1 } dlogi "XRUN injection: $i" - sudo bash -c "'echo 1 > $xrun_injection'" + sudo bash -c "echo '1' > $xrun_injection" sleep $interval (( i++ )) done