From 585fb5cef9c050e5d282c897f5565874f71a9749 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Thu, 29 Dec 2011 15:43:55 -0800 Subject: [PATCH] clitests: update for new error format This was changed in 1f434da8a3ca4db830d1f3b0d87e5df941d85f2d Signed-off-by: Josh Durgin --- src/test/cli/cauthtool/list-nonexistent-bin.t | 4 ++-- src/test/cli/cauthtool/list-nonexistent.t | 4 ++-- src/test/cli/osdmaptool/print-nonexistent.t | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/cli/cauthtool/list-nonexistent-bin.t b/src/test/cli/cauthtool/list-nonexistent-bin.t index 3da68883896..3ee54c536b1 100644 --- a/src/test/cli/cauthtool/list-nonexistent-bin.t +++ b/src/test/cli/cauthtool/list-nonexistent-bin.t @@ -1,7 +1,7 @@ $ ceph-authtool --list --bin nonexistent - can't open nonexistent: can't open nonexistent: error 2: No such file or directory + can't open nonexistent: can't open nonexistent: (2) No such file or directory [1] $ ceph-authtool -l --bin nonexistent - can't open nonexistent: can't open nonexistent: error 2: No such file or directory + can't open nonexistent: can't open nonexistent: (2) No such file or directory [1] diff --git a/src/test/cli/cauthtool/list-nonexistent.t b/src/test/cli/cauthtool/list-nonexistent.t index 7b8e73d985d..4aecd3e2702 100644 --- a/src/test/cli/cauthtool/list-nonexistent.t +++ b/src/test/cli/cauthtool/list-nonexistent.t @@ -1,7 +1,7 @@ $ ceph-authtool --list nonexistent - can't open nonexistent: can't open nonexistent: error 2: No such file or directory + can't open nonexistent: can't open nonexistent: (2) No such file or directory [1] $ ceph-authtool -l nonexistent - can't open nonexistent: can't open nonexistent: error 2: No such file or directory + can't open nonexistent: can't open nonexistent: (2) No such file or directory [1] diff --git a/src/test/cli/osdmaptool/print-nonexistent.t b/src/test/cli/osdmaptool/print-nonexistent.t index 72b5c82520f..88f7e61821f 100644 --- a/src/test/cli/osdmaptool/print-nonexistent.t +++ b/src/test/cli/osdmaptool/print-nonexistent.t @@ -1,4 +1,4 @@ $ osdmaptool --print nonexistent osdmaptool: osdmap file 'nonexistent' - osdmaptool: couldn't open nonexistent: can't open nonexistent: error 2: No such file or directory + osdmaptool: couldn't open nonexistent: can't open nonexistent: (2) No such file or directory [255]