nvmf: evaluate .. in $rootdir

Make the path to the executable shorter so it fits in the coredump.

Change-Id: I651c6cb4bd37fea51dd8e39b47a97c4edeace22f
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2016-07-06 09:56:03 -07:00
parent 414e3d5f5c
commit 80c350ed69
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
testdir=$(readlink -f $(dirname $0)) testdir=$(readlink -f $(dirname $0))
rootdir=$testdir/../../.. rootdir=$(readlink -f $testdir/../../..)
source $rootdir/scripts/autotest_common.sh source $rootdir/scripts/autotest_common.sh
source $rootdir/test/nvmf/common.sh source $rootdir/test/nvmf/common.sh

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
testdir=$(readlink -f $(dirname $0)) testdir=$(readlink -f $(dirname $0))
rootdir=$testdir/../../.. rootdir=$(readlink -f $testdir/../../..)
source $rootdir/scripts/autotest_common.sh source $rootdir/scripts/autotest_common.sh
source $rootdir/test/nvmf/common.sh source $rootdir/test/nvmf/common.sh

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
testdir=$(readlink -f $(dirname $0)) testdir=$(readlink -f $(dirname $0))
rootdir=$testdir/../../.. rootdir=$(readlink -f $testdir/../../..)
source $rootdir/scripts/autotest_common.sh source $rootdir/scripts/autotest_common.sh
source $rootdir/test/nvmf/common.sh source $rootdir/test/nvmf/common.sh