diff --git a/tools/test-avrdude b/tools/test-avrdude index 0be49efcf..ce0302b45 100755 --- a/tools/test-avrdude +++ b/tools/test-avrdude @@ -167,6 +167,17 @@ if [[ $verbose -eq 1 ]]; then fi [[ -d $tmp && -w $tmp ]] || tmp=/tmp # Fall back to /tmp if tmp directory unusable + +if [[ $verbose -eq 1 ]]; then + echo "tmp=$tmp" + id + ls -ld "$tmp" + tmpfile="$tmp/date.txt$$" + date > "$tmpfile" + cat "$tmpfile" + rm -f "$tmpfile" +fi + status=$(mktemp "$tmp/$progname.status.XXXXXX") logfile=$(mktemp "$tmp/$progname.log.XXXXXX") outfile=$(mktemp "$tmp/$progname.out.XXXXXX")