Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: ceph-disk.sh should compare with the resolved path #7554

Merged
merged 1 commit into from Feb 7, 2016

Conversation

tchaikov
Copy link
Contributor

@tchaikov tchaikov commented Feb 7, 2016

Signed-off-by: Kefu Chai kchai@redhat.com

Signed-off-by: Kefu Chai <kchai@redhat.com>
@ghost
Copy link

ghost commented Feb 7, 2016

last time I checked, realpath is not available by default. Maybe this changed since we do not support older versions

@tchaikov
Copy link
Contributor Author

tchaikov commented Feb 7, 2016

@dachary yeah, realpath was introduced in coreutils 8.15.

and

  • centos 7 has coreutils 8.22
  • ubuntu 14.04 (trusty) has coreutils 8.21
  • fedora 21 has coreutils 8.22

and realpath is easier to understand in comparison with readlink -f. but if you think otherwise, i am happy to revert to readlink -f .

@ghost
Copy link

ghost commented Feb 7, 2016

@tchaikov the only reason for not using realpath was because it is was not found on all supported platforms. All good :-)

Reviewed-by: Loic Dachary <ldachary@redhat.com>

tchaikov added a commit that referenced this pull request Feb 7, 2016
tests: ceph-disk.sh should compare with the resolved path

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@tchaikov tchaikov merged commit d21724a into ceph:master Feb 7, 2016
@tchaikov
Copy link
Contributor Author

tchaikov commented Feb 7, 2016

thanks for your review, Loïc! first merge in the new year!

@tchaikov tchaikov deleted the wip-ceph-disk-test branch February 7, 2016 17:53
@ghost
Copy link

ghost commented Feb 8, 2016

@tchaikov happy new lunar year !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant