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

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