Skip to content

Commit

Permalink
check-xrun-injection.sh: refine the xun injection commandline
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 file or directory. This patch refines the commandline to
avoid such issue.

Signed-off-by: Keqiao Zhang <[email protected]>
  • Loading branch information
keqiaozhang committed Dec 6, 2023
1 parent d6ae791 commit 6dd4ddb
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 6dd4ddb

Please sign in to comment.