Skip to content

Commit

Permalink
check-xrun-injection.sh: Fix bad quoting when injecting xrun
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
keqiaozhang committed Dec 6, 2023
1 parent d6ae791 commit 871ab5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-case/check-xrun-injection.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 871ab5d

Please sign in to comment.