From f806d678462ca5fa492f38c6913ff5f3a8e5dadb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Wed, 9 Mar 2022 00:16:55 +0100 Subject: [PATCH] tests: mixed_create_failure: undefined log_err -> log_fail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Behlendorf Reviewed-by: John Kennedy Reviewed-by: Ryan Moeller Signed-off-by: Ahelenia ZiemiaƄska Issue #13215 Closes #13259 --- .../tests/functional/casenorm/mixed_create_failure.ksh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/zfs-tests/tests/functional/casenorm/mixed_create_failure.ksh b/tests/zfs-tests/tests/functional/casenorm/mixed_create_failure.ksh index 51b5bb3f65..7d22fc9144 100755 --- a/tests/zfs-tests/tests/functional/casenorm/mixed_create_failure.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/mixed_create_failure.ksh @@ -100,7 +100,7 @@ function test_ops save_name="$test_path/$name" break; else - log_err "$cmd failed with unexpected error : $out" + log_fail "$cmd failed: $out" fi fi done @@ -111,7 +111,7 @@ function test_ops out=$($cmd 2>&1) ret=$? if (($ret != 0)); then - log_err "cmd:$cmd failed out:$out" + log_fail "$cmd failed: $out" fi # Now, try to rename the tmp_obj to the name which we failed to add earlier. @@ -120,9 +120,9 @@ function test_ops ret=$? if (($ret != 0)); then if [[ $out = *@(No space left on device)* ]]; then - log_note "$cmd failed as expected : $out" + log_note "$cmd failed as expected: $out" else - log_err "$cmd failed with : $out" + log_fail "$cmd failed: $out" fi fi }