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:
parent
2f8aac5375
commit
c360199c6c
|
@ -7,7 +7,7 @@ if [ -z "$TOP" ]; then
|
||||||
TOP=$(readlink -f "$SCRIPT_DIR/../")
|
TOP=$(readlink -f "$SCRIPT_DIR/../")
|
||||||
if [ -f "$TOP/configure.ac" ]; then
|
if [ -f "$TOP/configure.ac" ]; then
|
||||||
# inside git
|
# inside git
|
||||||
TEST_TOP="$TOP/tests/"
|
TEST_TOP="$TOP/tests"
|
||||||
INTERNAL_BIN="$TOP"
|
INTERNAL_BIN="$TOP"
|
||||||
else
|
else
|
||||||
# external, defaults to system binaries
|
# external, defaults to system binaries
|
||||||
|
|
|
@ -8,7 +8,7 @@ if [ -z "$TOP" ]; then
|
||||||
TOP=$(readlink -f "$SCRIPT_DIR/../")
|
TOP=$(readlink -f "$SCRIPT_DIR/../")
|
||||||
if [ -f "$TOP/configure.ac" ]; then
|
if [ -f "$TOP/configure.ac" ]; then
|
||||||
# inside git
|
# inside git
|
||||||
TEST_TOP="$TOP/tests/"
|
TEST_TOP="$TOP/tests"
|
||||||
INTERNAL_BIN="$TOP"
|
INTERNAL_BIN="$TOP"
|
||||||
else
|
else
|
||||||
# external, defaults to system binaries
|
# external, defaults to system binaries
|
||||||
|
|
|
@ -9,7 +9,7 @@ if [ -z "$TOP" ]; then
|
||||||
TOP=$(readlink -f "$SCRIPT_DIR/../")
|
TOP=$(readlink -f "$SCRIPT_DIR/../")
|
||||||
if [ -f "$TOP/configure.ac" ]; then
|
if [ -f "$TOP/configure.ac" ]; then
|
||||||
# inside git
|
# inside git
|
||||||
TEST_TOP="$TOP/tests/"
|
TEST_TOP="$TOP/tests"
|
||||||
INTERNAL_BIN="$TOP"
|
INTERNAL_BIN="$TOP"
|
||||||
else
|
else
|
||||||
# external, defaults to system binaries
|
# external, defaults to system binaries
|
||||||
|
|
|
@ -8,7 +8,7 @@ if [ -z "$TOP" ]; then
|
||||||
TOP=$(readlink -f "$SCRIPT_DIR/../")
|
TOP=$(readlink -f "$SCRIPT_DIR/../")
|
||||||
if [ -f "$TOP/configure.ac" ]; then
|
if [ -f "$TOP/configure.ac" ]; then
|
||||||
# inside git
|
# inside git
|
||||||
TEST_TOP="$TOP/tests/"
|
TEST_TOP="$TOP/tests"
|
||||||
INTERNAL_BIN="$TOP"
|
INTERNAL_BIN="$TOP"
|
||||||
else
|
else
|
||||||
# external, defaults to system binaries
|
# external, defaults to system binaries
|
||||||
|
|
|
@ -8,7 +8,7 @@ if [ -z "$TOP" ]; then
|
||||||
TOP=$(readlink -f "$SCRIPT_DIR/../")
|
TOP=$(readlink -f "$SCRIPT_DIR/../")
|
||||||
if [ -f "$TOP/configure.ac" ]; then
|
if [ -f "$TOP/configure.ac" ]; then
|
||||||
# inside git
|
# inside git
|
||||||
TEST_TOP="$TOP/tests/"
|
TEST_TOP="$TOP/tests"
|
||||||
INTERNAL_BIN="$TOP"
|
INTERNAL_BIN="$TOP"
|
||||||
else
|
else
|
||||||
# external, defaults to system binaries
|
# external, defaults to system binaries
|
||||||
|
|
|
@ -8,7 +8,7 @@ if [ -z "$TOP" ]; then
|
||||||
TOP=$(readlink -f "$SCRIPT_DIR/../")
|
TOP=$(readlink -f "$SCRIPT_DIR/../")
|
||||||
if [ -f "$TOP/configure.ac" ]; then
|
if [ -f "$TOP/configure.ac" ]; then
|
||||||
# inside git
|
# inside git
|
||||||
TEST_TOP="$TOP/tests/"
|
TEST_TOP="$TOP/tests"
|
||||||
INTERNAL_BIN="$TOP"
|
INTERNAL_BIN="$TOP"
|
||||||
else
|
else
|
||||||
# external, defaults to system binaries
|
# external, defaults to system binaries
|
||||||
|
|
|
@ -8,7 +8,7 @@ if [ -z "$TOP" ]; then
|
||||||
TOP=$(readlink -f "$SCRIPT_DIR/../")
|
TOP=$(readlink -f "$SCRIPT_DIR/../")
|
||||||
if [ -f "$TOP/configure.ac" ]; then
|
if [ -f "$TOP/configure.ac" ]; then
|
||||||
# inside git
|
# inside git
|
||||||
TEST_TOP="$TOP/tests/"
|
TEST_TOP="$TOP/tests"
|
||||||
INTERNAL_BIN="$TOP"
|
INTERNAL_BIN="$TOP"
|
||||||
else
|
else
|
||||||
# external, defaults to system binaries
|
# external, defaults to system binaries
|
||||||
|
|
Loading…
Reference in New Issue