Skip to content

Commit

Permalink
Remove trailing new lines in input files
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Feb 1, 2015
1 parent add3526 commit 950c91b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/raduat
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,13 @@ for i in $test_files; do
fi

# Else add it to the master test file
cat "$i" >> "$packets"
printf '%s\n' "$(cat "$i")" >> "$packets"

# Add the name of the file so it appears in radclient debug output
# and can later be specified with -v -- <test> to drill down.
echo "Radclient-Test-Name := \""$(echo "$i" | sed -e "s@${test_path}/\?@@")"\"" >> "$packets"
echo >> "$packets"
cat "${i}_expected" >> "$filters"
printf '%s\n' "$(cat "${i}_expected")" >> "$filters"
echo >> "$filters"
done

Expand Down

0 comments on commit 950c91b

Please sign in to comment.