Skip to content

Commit

Permalink
test//osd/osd-copy-from.sh: use absolute path for "rados put"
Browse files Browse the repository at this point in the history
"rados -p rbd put foo rados" does not work if "rados" is not in current
path. so change it to "rados -p rbd put foo $(which rados)"

Signed-off-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Jul 6, 2016
1 parent 9ff2a53 commit 832edfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/osd/osd-copy-from.sh
Expand Up @@ -45,7 +45,7 @@ function TEST_copy_from() {
run_osd $dir 1 || return 1

# success
rados -p rbd put foo rados
rados -p rbd put foo $(which rados)
rados -p rbd cp foo foo2
rados -p rbd stat foo2

Expand Down

0 comments on commit 832edfb

Please sign in to comment.