From: Willem Jan Withagen Date: Wed, 26 Jul 2017 10:01:37 +0000 (+0200) Subject: qa: make run-standalone work on FreeBSD X-Git-Tag: v12.1.2~107^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F16595%2Fhead;p=ceph.git qa: make run-standalone work on FreeBSD Signed-off-by: Willem Jan Withagen --- diff --git a/qa/run-standalone.sh b/qa/run-standalone.sh index 6b944f2c77d7..4d3e8c7ba915 100755 --- a/qa/run-standalone.sh +++ b/qa/run-standalone.sh @@ -5,7 +5,12 @@ if [ ! -e Makefile ]; then exit 1 fi -for f in `find ../qa//standalone -executable -type f` +if [ `uname` = FreeBSD ]; then + # otherwise module prettytable will not be found + export PYTHONPATH=/usr/local/lib/python2.7/site-packages +fi + +for f in `find ../qa/standalone -perm +111 -type f` do echo '--- $f ---' PATH=$PATH:bin \