mirror of
https://github.com/ceph/ceph
synced 2025-04-01 00:26:47 +00:00
Merge pull request #21552 from smithfarm/wip-23805
qa/standalone/ceph-helpers.sh: provide argument to dirname Reviewed-by: David Zafman <dzafman@redhat.com>
This commit is contained in:
commit
6f834d5da6
@ -158,7 +158,7 @@ function teardown() {
|
|||||||
pattern=""
|
pattern=""
|
||||||
fi
|
fi
|
||||||
# Local we start with core and teuthology ends with core
|
# Local we start with core and teuthology ends with core
|
||||||
if ls $(dirname $pattern) | grep -q '^core\|core$' ; then
|
if ls $(dirname "$pattern") | grep -q '^core\|core$' ; then
|
||||||
cores="yes"
|
cores="yes"
|
||||||
if [ -n "$LOCALRUN" ]; then
|
if [ -n "$LOCALRUN" ]; then
|
||||||
mkdir /tmp/cores.$$ 2> /dev/null || true
|
mkdir /tmp/cores.$$ 2> /dev/null || true
|
||||||
|
Loading…
Reference in New Issue
Block a user