From: Wei Liu Date: Wed, 9 Dec 2015 10:43:36 +0000 (+0000) Subject: libxl: update check-xl-disk-parse X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=41b0aa569adb9dc9b759ccb424eb51484607da2d;p=people%2Fjulieng%2Fxen-unstable.git libxl: update check-xl-disk-parse The block-attach command now returns 1 when fails. Update first test case to expect return value 1 instead of 255. The parser now doesn't generate output for default values. Remove them from expected output. According to 417e6b70 ("libxl: add option for discard support to xl disk configuration"), the "discard=" variant is never supported, delete two test cases with that variant. Reported-by: Jim Fehlig Signed-off-by: Wei Liu Tested-by: Jim Fehlig Acked-by: Ian Campbell --- diff --git a/tools/libxl/check-xl-disk-parse b/tools/libxl/check-xl-disk-parse index 1bec4ca9df..03572e4471 100755 --- a/tools/libxl/check-xl-disk-parse +++ b/tools/libxl/check-xl-disk-parse @@ -40,7 +40,7 @@ complete () { fi } -e=255 +e=1 #---------- test data ---------- @@ -52,18 +52,10 @@ one $e foo expected <