Skip to content

Commit

Permalink
[FAB-4429] LTE tool driver: put proper exit code
Browse files Browse the repository at this point in the history
This change makes sure that the driver exits with code 1 in the event of
invalid or empty test names.

Change-Id: I284fcabe1ef94bb9033e678d4abb89bac49cf679
Signed-off-by: Adnan Choudhury <adnan.choudhury@itpeoplecorp.com>
  • Loading branch information
adnan-c committed Jun 9, 2017
1 parent bb55096 commit ac413a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/tools/LTE/scripts/runbenchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,5 @@ runLargeDataExperiment\n"
runLargeDataExperiment ;;
*)
printf "Error: test name empty/incorrect!\n" >> /dev/stderr
exit 1 ;;
esac

0 comments on commit ac413a4

Please sign in to comment.