Merge branch 'maint'
* maint: Better advice on using topic branches for kernel development Documentation: update implicit "--no-index" behavior in "git diff" Documentation: expand 'git diff' SEE ALSO section Documentation: diff can compare blobs Documentation: gitrevisions is in section 7 shell portability: no "export VAR=VAL" CodingGuidelines: reword parameter expansion section Documentation: update-index: -z applies also to --index-info Documentation: No argument of ALLOC_GROW should have side-effects
This commit is contained in:
@ -15,7 +15,7 @@ run_backend() {
|
||||
}
|
||||
|
||||
GET() {
|
||||
export REQUEST_METHOD="GET" &&
|
||||
REQUEST_METHOD="GET" && export REQUEST_METHOD &&
|
||||
run_backend "/repo.git/$1" &&
|
||||
unset REQUEST_METHOD &&
|
||||
if ! grep "Status" act.out >act
|
||||
@ -27,8 +27,8 @@ GET() {
|
||||
}
|
||||
|
||||
POST() {
|
||||
export REQUEST_METHOD="POST" &&
|
||||
export CONTENT_TYPE="application/x-$1-request" &&
|
||||
REQUEST_METHOD="POST" && export REQUEST_METHOD &&
|
||||
CONTENT_TYPE="application/x-$1-request" && export CONTENT_TYPE &&
|
||||
run_backend "/repo.git/$1" "$2" &&
|
||||
unset REQUEST_METHOD &&
|
||||
unset CONTENT_TYPE &&
|
||||
@ -47,7 +47,7 @@ log_div() {
|
||||
. "$TEST_DIRECTORY"/t556x_common
|
||||
|
||||
expect_aliased() {
|
||||
export REQUEST_METHOD="GET" &&
|
||||
REQUEST_METHOD="GET" && export REQUEST_METHOD &&
|
||||
if test $1 = 0; then
|
||||
run_backend "$2"
|
||||
else
|
||||
|
Reference in New Issue
Block a user