[TESTS] Make cat.allocation tests handle different disk sizes

This commit is contained in:
Clinton Gormley 2014-02-07 17:54:38 +01:00
parent 027a418930
commit 8d98dbead0
1 changed files with 12 additions and 12 deletions

View File

@ -31,9 +31,9 @@ setup:
$body: >
/^
( 0 \s+
\d+(\.\d+)?+gb \s+
\d+(\.\d+)?+gb \s+
\d+(\.\d+)?+gb \s+
\d+(\.\d+)?+[kmgt]b \s+
\d+(\.\d+)?+[kmgt]b \s+
\d+(\.\d+)?+[kmgt]b \s+
\d+ \s+
[-\w.]+ \s+
\d+(\.\d+){3} \s+
@ -60,9 +60,9 @@ setup:
$body: >
/^
( [1-5] \s+
\d+(\.\d+)?+gb \s+
\d+(\.\d+)?+gb \s+
\d+(\.\d+)?+gb \s+
\d+(\.\d+)?+[kmgt]b \s+
\d+(\.\d+)?+[kmgt]b \s+
\d+(\.\d+)?+[kmgt]b \s+
\d+ \s+
[-\w.]+ \s+
\d+(\.\d+){3} \s+
@ -86,9 +86,9 @@ setup:
$body: >
/^
( 0 \s+
\d+(\.\d+)?+gb \s+
\d+(\.\d+)?+gb \s+
\d+(\.\d+)?+gb \s+
\d+(\.\d+)?+[kmgt]b \s+
\d+(\.\d+)?+[kmgt]b \s+
\d+(\.\d+)?+[kmgt]b \s+
\d+ \s+
[-\w.]+ \s+
\d+(\.\d+){3} \s+
@ -125,9 +125,9 @@ setup:
\n
( \s+0 \s+
\d+(\.\d+)?+gb \s+
\d+(\.\d+)?+gb \s+
\d+(\.\d+)?+gb \s+
\d+(\.\d+)?+[kmgt]b \s+
\d+(\.\d+)?+[kmgt]b \s+
\d+(\.\d+)?+[kmgt]b \s+
\d+ \s+
[-\w.]+ \s+
\d+(\.\d+){3} \s+