test: remove available memory check in setexpr_test_str()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 3 Feb 2025 15:10:27 +0000 (16:10 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 7 Feb 2025 19:35:23 +0000 (13:35 -0600)
commitb0716426367d992db8fb9a2235c0eb9c9fafe324
tree5d2091ecd9ea26f2982cd4192dc50b09f907bc2e
parent0395d75d6b867a3c109e5a71c3773f8415bf5121
test: remove available memory check in setexpr_test_str()

env_set() frees the previous value after allocating the new value.
As the free() may merge memory chunks the available memory is not
expected to stay constant.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
test/cmd/setexpr.c