From d7e416e76a1c0d404c4dbd32b8333d3f6acfd627 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 7 Mar 2018 00:02:45 -0600 Subject: [PATCH] Now dbGetString() works before iocInit, fix asTest to match Previously dbGetString() of a link field would return an empty string until iocInit was run. I fixed that earlier today, so asTest started failing because it was checking for the old behavior. --- src/std/rec/test/asTestLib.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/std/rec/test/asTestLib.c b/src/std/rec/test/asTestLib.c index 18139233f..2043ed770 100644 --- a/src/std/rec/test/asTestLib.c +++ b/src/std/rec/test/asTestLib.c @@ -109,11 +109,7 @@ static void hookPass0(initHookState state) else testFail("Wrong link type: %d", (int)prec->out.type); - /* note that dbGetString() reads an empty string before links are initialized - * should probably be considered a bug, but has been the case for so long - * we call it a 'feature'. - */ - checkGetString(&entry, ""); + checkGetString(&entry, "rec0.DISV"); testOk1(dbPutString(&entry, "rec0.SEVR")==0); } else{