mirror of
https://github.com/ceph/ceph
synced 2025-02-23 11:07:35 +00:00
Sanitize environment before running clitests.
This avoids CEPH_KEYRING etc from slipping in.
This commit is contained in:
parent
0c6fb520dc
commit
5a0bc6b78f
@ -37,5 +37,7 @@ BUILDDIR_ABS="$(readlink -f "$BUILDDIR")"
|
||||
for tool in "$SRCDIR"/cli/*; do
|
||||
toolname="$(basename "$tool")"
|
||||
install -d -m0755 -- "$BUILDDIR/cli/$toolname"
|
||||
PATH="$BUILDDIR_ABS/..:$SRCDIR_ABS/..:$PATH" "$CRAM_BIN" -v "$@" --error-dir="$BUILDDIR/cli/$toolname" -- "$tool"/*.t
|
||||
env --ignore-environment \
|
||||
PATH="$BUILDDIR_ABS/..:$SRCDIR_ABS/..:$PATH" \
|
||||
"$CRAM_BIN" -v "$@" --error-dir="$BUILDDIR/cli/$toolname" -- "$tool"/*.t
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user