From 474dfa840a015331358159dce4bf50dbd1c3a670 Mon Sep 17 00:00:00 2001 From: serassio <> Date: Sun, 18 Dec 2005 16:57:59 +0000 Subject: [PATCH] visible_appname_string must be initialized during FS tests. --- src/tests/testCoss.cc | 2 ++ src/tests/testNull.cc | 2 ++ src/tests/testUfs.cc | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/tests/testCoss.cc b/src/tests/testCoss.cc index 44ec10dfe4..09d00cb5f9 100644 --- a/src/tests/testCoss.cc +++ b/src/tests/testCoss.cc @@ -52,6 +52,8 @@ testCoss::commonInit() /* garh garh */ storeReplAdd("lru", createRemovalPolicy_lru); + visible_appname_string = xstrdup(PACKAGE "/" VERSION); + Mem::Init(); cbdataInit(); diff --git a/src/tests/testNull.cc b/src/tests/testNull.cc index 7abf909770..24da87d9d3 100644 --- a/src/tests/testNull.cc +++ b/src/tests/testNull.cc @@ -52,6 +52,8 @@ testNull::commonInit() /* garh garh */ storeReplAdd("lru", createRemovalPolicy_lru); + visible_appname_string = xstrdup(PACKAGE "/" VERSION); + Mem::Init(); cbdataInit(); diff --git a/src/tests/testUfs.cc b/src/tests/testUfs.cc index 0b0d594b9e..b14f0ab425 100644 --- a/src/tests/testUfs.cc +++ b/src/tests/testUfs.cc @@ -89,6 +89,8 @@ testUfs::testUfsSearch() char *config_line=xstrdup("foo 100 1 1"); + visible_appname_string = xstrdup(PACKAGE "/" VERSION); + strtok(config_line, w_space); aStore->parse(0, path); -- 2.47.3