]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdmaptool/test-map-pgs.t: fix escaping to fix run
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 25 Jun 2014 07:56:52 +0000 (09:56 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 25 Jun 2014 20:23:27 +0000 (22:23 +0200)
commitbe70c1ffe36cea56e3213bd71a47c27d7fa2a068
tree136698653ac4506de5949ce71872a9a5021b5642
parent235f4ca6dc5f4c5b148b05b1ebbfb09e2454c878
osdmaptool/test-map-pgs.t: fix escaping to fix run

Run failed always running into the '|| cat $OUT' case due
to bad escaping of '\t'. This is caused by different shells
on different distros (e.g. bash on SUSE vs dash on Ubuntu).

Use 'grep -P ' and fix the regex to make it shell independet.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/test/cli/osdmaptool/test-map-pgs.t