From eaf4b5c411a53cf6da1ad421c7a136cb4c144f86 Mon Sep 17 00:00:00 2001 From: hanjinpeng Date: Tue, 12 Aug 2025 18:15:22 +0800 Subject: [PATCH] add test cases and run the program with more parameters This helps better detect potential issues. such as address access errors, command execution errors, and whether the command runs as expected, etc. --- tests/run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/run b/tests/run index 3cb539c..2a0b493 100755 --- a/tests/run +++ b/tests/run @@ -22,10 +22,11 @@ t() { fi } -echo 1..3 +echo 1..4 t ./systemd-bootchart -o "$d" -n 2 -r t ./systemd-bootchart -o "$d" -n 10 -r t ./systemd-bootchart -o "$d" -n 10 -r -p +t ./systemd-bootchart -o "$d" -F -f 10 -n 10 -p -e --per-cpu if [ $test_failures -ne 0 ]; then echo "# Failed $test_failures out of $test_runs tests"