btrfs-progs: tests: drop trailing slash from TEST_TOP path

As the TEST_TOP is often only a base path, the slash gets doubled. This
is not a problem as the slashes are in the middle of the path and cannot
be confused with the initial "//" that gets interpreted as a network
path. Update all the test drivers.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Anand Jain 2020-04-03 10:10:41 +08:00 committed by David Sterba
parent 2f8aac5375
commit c360199c6c
7 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@ if [ -z "$TOP" ]; then
TOP=$(readlink -f "$SCRIPT_DIR/../")
if [ -f "$TOP/configure.ac" ]; then
# inside git
TEST_TOP="$TOP/tests/"
TEST_TOP="$TOP/tests"
INTERNAL_BIN="$TOP"
else
# external, defaults to system binaries

View File

@ -8,7 +8,7 @@ if [ -z "$TOP" ]; then
TOP=$(readlink -f "$SCRIPT_DIR/../")
if [ -f "$TOP/configure.ac" ]; then
# inside git
TEST_TOP="$TOP/tests/"
TEST_TOP="$TOP/tests"
INTERNAL_BIN="$TOP"
else
# external, defaults to system binaries

View File

@ -9,7 +9,7 @@ if [ -z "$TOP" ]; then
TOP=$(readlink -f "$SCRIPT_DIR/../")
if [ -f "$TOP/configure.ac" ]; then
# inside git
TEST_TOP="$TOP/tests/"
TEST_TOP="$TOP/tests"
INTERNAL_BIN="$TOP"
else
# external, defaults to system binaries

View File

@ -8,7 +8,7 @@ if [ -z "$TOP" ]; then
TOP=$(readlink -f "$SCRIPT_DIR/../")
if [ -f "$TOP/configure.ac" ]; then
# inside git
TEST_TOP="$TOP/tests/"
TEST_TOP="$TOP/tests"
INTERNAL_BIN="$TOP"
else
# external, defaults to system binaries

View File

@ -8,7 +8,7 @@ if [ -z "$TOP" ]; then
TOP=$(readlink -f "$SCRIPT_DIR/../")
if [ -f "$TOP/configure.ac" ]; then
# inside git
TEST_TOP="$TOP/tests/"
TEST_TOP="$TOP/tests"
INTERNAL_BIN="$TOP"
else
# external, defaults to system binaries

View File

@ -8,7 +8,7 @@ if [ -z "$TOP" ]; then
TOP=$(readlink -f "$SCRIPT_DIR/../")
if [ -f "$TOP/configure.ac" ]; then
# inside git
TEST_TOP="$TOP/tests/"
TEST_TOP="$TOP/tests"
INTERNAL_BIN="$TOP"
else
# external, defaults to system binaries

View File

@ -8,7 +8,7 @@ if [ -z "$TOP" ]; then
TOP=$(readlink -f "$SCRIPT_DIR/../")
if [ -f "$TOP/configure.ac" ]; then
# inside git
TEST_TOP="$TOP/tests/"
TEST_TOP="$TOP/tests"
INTERNAL_BIN="$TOP"
else
# external, defaults to system binaries