File tree Expand file tree Collapse file tree 1 file changed +18
-9
lines changed Expand file tree Collapse file tree 1 file changed +18
-9
lines changed Original file line number Diff line number Diff line change @@ -106,18 +106,27 @@ do_tests () {
106
106
pr=$1
107
107
count=$2
108
108
109
- test_expect_success $pr ' setup / mkdir' '
110
- mkdir $count &&
111
- cd $count
109
+ test_expect_success $pr " setup $count " '
110
+ mkdir "$count" &&
111
+ (
112
+ cd "$count" &&
113
+ create_repo "$count"
114
+ )
112
115
'
113
116
114
- test_expect_success $pr " setup $count " " create_repo $count "
115
-
116
- test_expect_success $pr ' notes work' " test_notes $count "
117
-
118
- test_expect_success USR_BIN_TIME,$pr ' notes timing with /usr/bin/time' " time_notes 100"
117
+ test_expect_success $pr ' notes work' '
118
+ (
119
+ cd "$count" &&
120
+ test_notes "$count"
121
+ )
122
+ '
119
123
120
- test_expect_success $pr ' teardown / cd ..' ' cd ..'
124
+ test_expect_success USR_BIN_TIME,$pr ' notes timing with /usr/bin/time' '
125
+ (
126
+ cd "$count" &&
127
+ time_notes 100
128
+ )
129
+ '
121
130
}
122
131
123
132
do_tests NOT_EXPENSIVE 10
You can’t perform that action at this time.
0 commit comments