[ABRT PATCH] fixed cli test closes #671

Jiri Moskovcak jmoskovc at redhat.com
Thu Jul 11 12:33:27 UTC 2013


Signed-off-by: Jiri Moskovcak <jmoskovc at redhat.com>
---
 tests/runtests/cli-status/runtest.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/runtests/cli-status/runtest.sh b/tests/runtests/cli-status/runtest.sh
index 70c1183..5dccc5a 100755
--- a/tests/runtests/cli-status/runtest.sh
+++ b/tests/runtests/cli-status/runtest.sh
@@ -55,7 +55,7 @@ rlJournalStart
         get_crash_path
         wait_for_hooks
 
-        rlRun "abrt-cli status | grep \"ABRT has detected '1' problem(s).\"" 0
+        rlRun "abrt-cli status | grep \"ABRT has detected 1 problem(s).\"" 0
 
         sleep 2 #just to make sure that SINCE > time of the previous crash
         SINCE=`date +%s`
@@ -64,9 +64,9 @@ rlJournalStart
         get_crash_path
         wait_for_hooks
 
-        rlRun "abrt-cli status | grep \"ABRT has detected '2' problem(s).\"" 0
+        rlRun "abrt-cli status | grep \"ABRT has detected 2 problem(s).\"" 0
 
-        rlRun "abrt-cli status --since=$SINCE | grep \"ABRT has detected '1' problem(s).\"" 0
+        rlRun "abrt-cli status --since=$SINCE | grep \"ABRT has detected 1 problem(s).\"" 0
 
     rlPhaseEnd
 
-- 
1.8.3.1



More information about the Crash-catcher mailing list