]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/workunits/rbd: use POSIX function definition
authorNathan Cutler <ncutler@suse.com>
Sat, 12 Mar 2016 01:03:27 +0000 (02:03 +0100)
committerNathan Cutler <ncutler@suse.com>
Sat, 12 Mar 2016 01:03:27 +0000 (02:03 +0100)
commit996be8ef4976a1436a8782dbfaa9e4a62c17d779
tree5518050feef79d310867c27737ddc13e7e7819f8
parentb96cfda4a3409da97e9b6430c741afce86f28498
qa/workunits/rbd: use POSIX function definition

In scripts with /bin/sh shebang, we must use POSIX function definitions to
avoid syntax errors on platforms that link /bin/sh to something other than
/bin/bash.

See https://wiki.ubuntu.com/DashAsBinSh#function for more information.

http://tracker.ceph.com/issues/15104 Fixes: #15104

Signed-off-by: Nathan Cutler <ncutler@suse.com>
qa/workunits/rbd/verify_pool.sh