From a190982a9ed213012173d60cd7cd10c708ae9bd3 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Thu, 30 Nov 2023 16:29:47 -0700 Subject: [PATCH] fix verifytraceintree test --- test/regression/verifytraceintree.sh.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/regression/verifytraceintree.sh.in b/test/regression/verifytraceintree.sh.in index 5866748e8..c00d6d39f 100755 --- a/test/regression/verifytraceintree.sh.in +++ b/test/regression/verifytraceintree.sh.in @@ -163,12 +163,12 @@ run_no_sort "${VERIFYTRACEINTREE} \"${BADTRACE}\" \"${DELIM}\" \"${SEARCH}\"" echo "# directory uid mismatch (Fail)" # shellcheck disable=SC2016 -@AWK@ -F "${DELIM}" -v OFS="${DELIM}" -v TYPE="${AWK_TYPE}" -v UID="${AWK_UID}" -v NEXT_UID="${NEXT_UID}" '$TYPE == "d" { $UID = $NEXT_UID }; 1' "${TRACE}" > "${BADTRACE}" +@AWK@ -F "${DELIM}" -v OFS="${DELIM}" -v TYPE="${AWK_TYPE}" -v UID="${AWK_UID}" -v NEXT_UID="${NEXT_UID}" '$TYPE == "d" { $UID = NEXT_UID }; 1' "${TRACE}" > "${BADTRACE}" run_no_sort "${VERIFYTRACEINTREE} \"${BADTRACE}\" \"${DELIM}\" \"${SEARCH}\"" echo "# directory gid mismatch (Fail)" # shellcheck disable=SC2016 -@AWK@ -F "${DELIM}" -v OFS="${DELIM}" -v TYPE="${AWK_TYPE}" -v GID="${AWK_GID}" -v NEXT_GID="${NEXT_GID}" '$TYPE == "d" { $GID = $NEXT_GID }; 1' "${TRACE}" > "${BADTRACE}" +@AWK@ -F "${DELIM}" -v OFS="${DELIM}" -v TYPE="${AWK_TYPE}" -v GID="${AWK_GID}" -v NEXT_GID="${NEXT_GID}" '$TYPE == "d" { $GID = NEXT_GID }; 1' "${TRACE}" > "${BADTRACE}" run_no_sort "${VERIFYTRACEINTREE} \"${BADTRACE}\" \"${DELIM}\" \"${SEARCH}\"" echo "# missing db.db (Fail)" @@ -187,12 +187,12 @@ run_no_sort "${VERIFYTRACEINTREE} \"${BADTRACE}\" \"${DELIM}\" \"${SEARCH}\"" echo "# non-directory uid mismatch (Fail)" # shellcheck disable=SC2016 -@AWK@ -F "${DELIM}" -v OFS="${DELIM}" -v TYPE="${AWK_TYPE}" -v UID="${AWK_UID}" -v NEXT_UID="${NEXT_UID}" '$TYPE == "f" { $UID = $NEXT_UID }; 1' "${TRACE}" > "${BADTRACE}" +@AWK@ -F "${DELIM}" -v OFS="${DELIM}" -v TYPE="${AWK_TYPE}" -v UID="${AWK_UID}" -v NEXT_UID="${NEXT_UID}" '$TYPE == "f" { $UID = NEXT_UID }; 1' "${TRACE}" > "${BADTRACE}" run_sort "${VERIFYTRACEINTREE} \"${BADTRACE}\" \"${DELIM}\" \"${SEARCH}\"" echo "# non-directory gid mismatch (Fail)" # shellcheck disable=SC2016 -@AWK@ -F "${DELIM}" -v OFS="${DELIM}" -v TYPE="${AWK_TYPE}" -v GID="${AWK_GID}" -v NEXT_GID="${NEXT_GID}" '$TYPE == "f" { $GID = $NEXT_GID }; 1' "${TRACE}" > "${BADTRACE}" +@AWK@ -F "${DELIM}" -v OFS="${DELIM}" -v TYPE="${AWK_TYPE}" -v GID="${AWK_GID}" -v NEXT_GID="${NEXT_GID}" '$TYPE == "f" { $GID = NEXT_GID }; 1' "${TRACE}" > "${BADTRACE}" run_sort "${VERIFYTRACEINTREE} \"${BADTRACE}\" \"${DELIM}\" \"${SEARCH}\"" echo "# empty line (Pass)"