summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2019-02-13 15:55:42 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2019-02-13 15:55:42 +1100
commit1b96d05dba7bfb9020f504a87f9c4d597671f0b2 (patch)
tree5c9541c8d834b534c9687fd1625d5dd16515f1c2 /tools
parenta3282aa91ffeda011e2cfbb3d5743226100888a9 (diff)
parent8af642c76ef5e19f5750838b3863a1d93ba2f7a7 (diff)
Merge remote-tracking branch 'ntb/ntb-next'
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/ntb/ntb_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/ntb/ntb_test.sh b/tools/testing/selftests/ntb/ntb_test.sh
index 08cbfbbc7029..17ca36403d04 100755
--- a/tools/testing/selftests/ntb/ntb_test.sh
+++ b/tools/testing/selftests/ntb/ntb_test.sh
@@ -250,7 +250,7 @@ function get_files_count()
split_remote $LOC
if [[ "$REMOTE" == "" ]]; then
- echo $(ls -1 "$LOC"/${NAME}* 2>/dev/null | wc -l)
+ echo $(ls -1 "$VPATH"/${NAME}* 2>/dev/null | wc -l)
else
echo $(ssh "$REMOTE" "ls -1 \"$VPATH\"/${NAME}* | \
wc -l" 2> /dev/null)