@cryptotaxi247 / kubo / commits / 0ccb4e82f

test: make the repo size check error message better

License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

Jakub Sztandera committed Mar 7, 2017 at 23:03 UTC 0ccb4e82f8d5b79da9f32efd51a3bfb61a3d489e
1 file changed +2 -2
test/sharness/t0270-filestore.sh
+2 -2
@@ -24,7 +24,7 @@ assert_repo_size_less_than() {
24
25 test_expect_success "check repo size" '
26 test "$(get_repo_size)" -lt "$expval" ||
27 - test_fsh get_repo_size
27 + { echo should be bellow "$expval" && test_fsh get_repo_size; }
28 '
29 }
30
@@ -33,7 +33,7 @@ assert_repo_size_greater_than() {
33
34 test_expect_success "check repo size" '
35 test "$(get_repo_size)" -gt "$expval" ||
36 - test_fsh get_repo_size
36 + { echo should be above "$expval" && test_fsh get_repo_size; }
37 '
38 }
39