Skip to content

Commit a3722ac

Browse files
committed
trigger-pflash-test: Allow to import for testability and extendability
1 parent e925b2d commit a3722ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

trigger-pflash-test

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ main() {
5454
SCHEDULE=tests/boot/tianocore_set_resolution \
5555
ISO="$image" \
5656
"${CLI_ARGS[@]}"
57-
}
57+
}
5858

5959
usage() {
6060
cat << EOF
@@ -70,4 +70,4 @@ EOF
7070
exit "$1"
7171
}
7272

73-
main
73+
caller 0 > /dev/null || main "$@"

0 commit comments

Comments
 (0)