Skip to content

Commit eaf4b5c

Browse files
committed
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.
1 parent 65c3927 commit eaf4b5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ t() {
2222
fi
2323
}
2424

25-
echo 1..3
25+
echo 1..4
2626
t ./systemd-bootchart -o "$d" -n 2 -r
2727
t ./systemd-bootchart -o "$d" -n 10 -r
2828
t ./systemd-bootchart -o "$d" -n 10 -r -p
29+
t ./systemd-bootchart -o "$d" -F -f 10 -n 10 -p -e --per-cpu
2930

3031
if [ $test_failures -ne 0 ]; then
3132
echo "# Failed $test_failures out of $test_runs tests"

0 commit comments

Comments
 (0)