diff options
author | Vlad Dumitrescu <[email protected]> | 2017-03-04 17:41:46 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2017-03-04 17:41:46 +0100 |
commit | fc2cf7905998fc388a9931d706d290ace11f7707 (patch) | |
tree | 047f8e2b378107b4eae446449e3b79d20918dce2 /lib/eunit/src/eunit_surefire.erl | |
parent | b14e556b334069ca60b1be1a1ed45374daf8e1fc (diff) | |
download | otp-fc2cf7905998fc388a9931d706d290ace11f7707.tar.gz otp-fc2cf7905998fc388a9931d706d290ace11f7707.tar.bz2 otp-fc2cf7905998fc388a9931d706d290ace11f7707.zip |
use normal file names for eunit reports
The surefire reports get called `TEXT-file_"foo.app".xml`, which creates all sorts of problems in the shell. I suggest that double quotes are removed like the single ones.
Diffstat (limited to 'lib/eunit/src/eunit_surefire.erl')
-rw-r--r-- | lib/eunit/src/eunit_surefire.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/eunit/src/eunit_surefire.erl b/lib/eunit/src/eunit_surefire.erl index 6b306c51d3..2b9f82b075 100644 --- a/lib/eunit/src/eunit_surefire.erl +++ b/lib/eunit/src/eunit_surefire.erl @@ -424,6 +424,7 @@ escape_suitename(String) -> escape_suitename([], Acc) -> lists:reverse(Acc); escape_suitename([$ | Tail], Acc) -> escape_suitename(Tail, [$_ | Acc]); escape_suitename([$' | Tail], Acc) -> escape_suitename(Tail, Acc); +escape_suitename([$" | Tail], Acc) -> escape_suitename(Tail, Acc); escape_suitename([$/ | Tail], Acc) -> escape_suitename(Tail, [$: | Acc]); escape_suitename([$\\ | Tail], Acc) -> escape_suitename(Tail, [$: | Acc]); escape_suitename([Char | Tail], Acc) when Char < $! -> escape_suitename(Tail, Acc); |