summaryrefslogtreecommitdiff
path: root/builtin/push.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-12-03 10:05:07 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-12-03 10:05:07 +0900
commit89ba9a79ae3a4d828880cdcdc1b5f6aa92be662c (patch)
tree53941cc81a2ae58bd6a51e68d7d2425918cebfe9 /builtin/push.c
parentrun-command: mark path lookup errors with ENOENT (diff)
downloadtgif-89ba9a79ae3a4d828880cdcdc1b5f6aa92be662c.tar.xz
t0061: do not fail test if '.' is part of $PATH
t0061 creates a script with an unlikely name in the current directory and asks the run_command() API to run it without an explicit path, expecting that the script does *not* get run. This obviously would not work if the $PATH does contain such an element. Check if the running shell picks up the script without an explicit path to it, and skip the test when it does, as the run_command() API should also run the script in such an (insane) environment. Reported-by: "H.Merijn Brand" <h.m.brand@xs4all.nl> Helped-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Helped-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/push.c')
0 files changed, 0 insertions, 0 deletions