Skip to content

Commit 64d66aa

Browse files
committed
add test cases and run the program with more parameters
This allows for better detection of potential issues. such as address access errors, command execution errors, and whether the command runs as expected, etc.
1 parent 65c3927 commit 64d66aa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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)