File tree 2 files changed +26
-2
lines changed
2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 38
38
fi
39
39
40
40
mkdir -p " $SCRIPT_DIR /build/tmp"
41
- TMPDIR=" $SCRIPT_DIR /build/tmp" test/libs/bats-core/bin/bats " $@ "
41
+ {
42
+ TMPDIR=" $SCRIPT_DIR /build/tmp" \
43
+ test/libs/bats-core/bin/bats " $@ " \
44
+ 4>&1 1>&2 2>&4 |
45
+ awk '
46
+ BEGIN {
47
+ duplicate_test_names = ""
48
+ }
49
+
50
+ {
51
+ print
52
+ }
53
+
54
+ /duplicate test name/ {
55
+ duplicate_test_names = duplicate_test_names "\n\t" $0
56
+ }
57
+
58
+ END {
59
+ if (length(duplicate_test_names)) {
60
+ print "\nERROR: duplicate test name(s) found:" duplicate_test_names
61
+ exit 1
62
+ }
63
+ }
64
+ '
65
+ } 4>&1 1>&2 2>&4
Original file line number Diff line number Diff line change @@ -1060,7 +1060,7 @@ load 'common'
1060
1060
assert_equal " $( git -C git-repo show branch-a:dir-a/.gitignore) " ' /ignore-a'
1061
1061
}
1062
1062
1063
- @test ' branching with svn-ignore, svn-branches and empty-dirs parameter should not replace filled .gitignore files with empty ones' {
1063
+ @test ' branching with svn-ignore, svn-branches and empty-dirs parameter should not replace filled .gitignore files with empty ones (nested) ' {
1064
1064
svn mkdir project-a
1065
1065
cd project-a
1066
1066
svn mkdir --parents trunk/dir-a
You can’t perform that action at this time.
0 commit comments