summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-05-14 04:39:19 +0300
committerTom Rini <trini@konsulko.com>2021-07-16 01:42:05 +0300
commitff0494c120be86bb442718f46eac06654d67a5bb (patch)
tree72c581ec7657c7640ba745c316a7741077a3709b /test
parent92598bdbaef2c73566cd4a4ba8bd40889b0848ce (diff)
downloadu-boot-ff0494c120be86bb442718f46eac06654d67a5bb.tar.xz
test: Rename final check in setexpr_test_backref()
The bug in setexpr is fixed now, so this test can be enabled. Reported-by: Coverity (CID: 316346) Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/cmd/setexpr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/cmd/setexpr.c b/test/cmd/setexpr.c
index c537e89353..08b6e6e724 100644
--- a/test/cmd/setexpr.c
+++ b/test/cmd/setexpr.c
@@ -270,8 +270,6 @@ static int setexpr_test_backref(struct unit_test_state *uts)
ut_asserteq_str("us this is surely! a test is it? yes us this is indeed! a test",
buf);
- /* The following checks fail at present due to a bug in setexpr */
- return 0;
for (i = BUF_SIZE; i < 0x1000; i++) {
ut_assertf(buf[i] == (char)i,
"buf byte at %x should be %02x, got %02x)\n",