repo.or.cz
/
libgit2
/
github.git
/
commitdiff
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
patch
|
inline
|
side by side
(parent:
e2dfcea
)
benchmarks: update path to baseline cli
author
Edward Thomson
<
[email protected]
>
Thu, 9 Jan 2025 21:45:11 +0000
(9 21:45 +0000)
committer
Edward Thomson
<
[email protected]
>
Thu, 9 Jan 2025 21:45:11 +0000
(9 21:45 +0000)
The `fullpath` function takes the cli, but doesn't keep the cli.
tests/benchmarks/benchmark.sh
patch
|
blob
|
blame
|
history
diff --git
a/tests/benchmarks/benchmark.sh
b/tests/benchmarks/benchmark.sh
index
6830064
..
944f26b
100755
(executable)
--- a/
tests/benchmarks/benchmark.sh
+++ b/
tests/benchmarks/benchmark.sh
@@
-100,11
+100,11
@@
SYSTEM_KERNEL=$(uname -v)
fullpath() {
if [[ "$(uname -s)" == "MINGW"* && $(cygpath -u "${TEST_CLI}") == "/"* ]]; then
- echo "$
{TEST_CLI}
"
+ echo "$
1
"
elif [[ "${TEST_CLI}" == "/"* ]]; then
- echo "$
{TEST_CLI}
"
+ echo "$
1
"
else
- which "$
{TEST_CLI}
"
+ which "$
1
"
fi
}