From 0ccb4e82f8d5b79da9f32efd51a3bfb61a3d489e Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Tue, 7 Mar 2017 23:03:53 +0100 Subject: [PATCH] test: make the repo size check error message better License: MIT Signed-off-by: Jakub Sztandera --- test/sharness/t0270-filestore.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/sharness/t0270-filestore.sh b/test/sharness/t0270-filestore.sh index 2f5e2ec63..a72ea90cc 100755 --- a/test/sharness/t0270-filestore.sh +++ b/test/sharness/t0270-filestore.sh @@ -24,7 +24,7 @@ assert_repo_size_less_than() { test_expect_success "check repo size" ' test "$(get_repo_size)" -lt "$expval" || - test_fsh get_repo_size + { echo should be bellow "$expval" && test_fsh get_repo_size; } ' } @@ -33,7 +33,7 @@ assert_repo_size_greater_than() { test_expect_success "check repo size" ' test "$(get_repo_size)" -gt "$expval" || - test_fsh get_repo_size + { echo should be above "$expval" && test_fsh get_repo_size; } ' }