Skip to content

Commit

Permalink
XXX ensure -t argument exists
Browse files Browse the repository at this point in the history
  • Loading branch information
ndim committed Aug 18, 2024
1 parent 8663c3a commit 605ad11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/test-avrdude
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ while getopts ":\?hbc:d:e:lp:st:Tv" opt; do
s) skip_eeprom=1
;;
t) tmp="$OPTARG"
test -d "$tmp" || { echo "error: -t argument must be a directory"; exit 1; }
;;
T) addtests=1
;;
Expand Down

0 comments on commit 605ad11

Please sign in to comment.