@@ -130,15 +130,17 @@ test_expect_success DATE_PARSER 'modification: feed last-modified' '
130130test_debug ' cat gitweb.headers'
131131
132132test_expect_success DATE_PARSER ' modification: feed if-modified-since (modified)' '
133- export HTTP_IF_MODIFIED_SINCE="Wed, 6 Apr 2005 22:14:13 +0000" &&
133+ HTTP_IF_MODIFIED_SINCE="Wed, 6 Apr 2005 22:14:13 +0000" &&
134+ export HTTP_IF_MODIFIED_SINCE &&
134135 test_when_finished "unset HTTP_IF_MODIFIED_SINCE" &&
135136 gitweb_run "p=.git;a=atom;h=master" &&
136137 grep "Status: 200 OK" gitweb.headers
137138'
138139test_debug ' cat gitweb.headers'
139140
140141test_expect_success DATE_PARSER ' modification: feed if-modified-since (unmodified)' '
141- export HTTP_IF_MODIFIED_SINCE="Thu, 7 Apr 2005 22:14:13 +0000" &&
142+ HTTP_IF_MODIFIED_SINCE="Thu, 7 Apr 2005 22:14:13 +0000" &&
143+ export HTTP_IF_MODIFIED_SINCE &&
142144 test_when_finished "unset HTTP_IF_MODIFIED_SINCE" &&
143145 gitweb_run "p=.git;a=atom;h=master" &&
144146 grep "Status: 304 Not Modified" gitweb.headers
@@ -153,15 +155,17 @@ test_expect_success DATE_PARSER 'modification: snapshot last-modified' '
153155test_debug ' cat gitweb.headers'
154156
155157test_expect_success DATE_PARSER ' modification: snapshot if-modified-since (modified)' '
156- export HTTP_IF_MODIFIED_SINCE="Wed, 6 Apr 2005 22:14:13 +0000" &&
158+ HTTP_IF_MODIFIED_SINCE="Wed, 6 Apr 2005 22:14:13 +0000" &&
159+ export HTTP_IF_MODIFIED_SINCE &&
157160 test_when_finished "unset HTTP_IF_MODIFIED_SINCE" &&
158161 gitweb_run "p=.git;a=snapshot;h=master;sf=tgz" &&
159162 grep "Status: 200 OK" gitweb.headers
160163'
161164test_debug ' cat gitweb.headers'
162165
163166test_expect_success DATE_PARSER ' modification: snapshot if-modified-since (unmodified)' '
164- export HTTP_IF_MODIFIED_SINCE="Thu, 7 Apr 2005 22:14:13 +0000" &&
167+ HTTP_IF_MODIFIED_SINCE="Thu, 7 Apr 2005 22:14:13 +0000" &&
168+ export HTTP_IF_MODIFIED_SINCE &&
165169 test_when_finished "unset HTTP_IF_MODIFIED_SINCE" &&
166170 gitweb_run "p=.git;a=snapshot;h=master;sf=tgz" &&
167171 grep "Status: 304 Not Modified" gitweb.headers
@@ -170,7 +174,8 @@ test_debug 'cat gitweb.headers'
170174
171175test_expect_success DATE_PARSER ' modification: tree snapshot' '
172176 ID=`git rev-parse --verify HEAD^{tree}` &&
173- export HTTP_IF_MODIFIED_SINCE="Wed, 6 Apr 2005 22:14:13 +0000" &&
177+ HTTP_IF_MODIFIED_SINCE="Wed, 6 Apr 2005 22:14:13 +0000" &&
178+ export HTTP_IF_MODIFIED_SINCE &&
174179 test_when_finished "unset HTTP_IF_MODIFIED_SINCE" &&
175180 gitweb_run "p=.git;a=snapshot;h=$ID;sf=tgz" &&
176181 grep "Status: 200 OK" gitweb.headers &&
0 commit comments