]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
visible_appname_string must be initialized during FS tests.
authorserassio <>
Sun, 18 Dec 2005 16:57:59 +0000 (16:57 +0000)
committerserassio <>
Sun, 18 Dec 2005 16:57:59 +0000 (16:57 +0000)
src/tests/testCoss.cc
src/tests/testNull.cc
src/tests/testUfs.cc

index 44ec10dfe4b92a7188030dfb1a3c162133482a40..09d00cb5f9b265631c7317338c0b355c45c62581 100644 (file)
@@ -52,6 +52,8 @@ testCoss::commonInit()
     /* garh garh */
     storeReplAdd("lru", createRemovalPolicy_lru);
 
+    visible_appname_string = xstrdup(PACKAGE "/" VERSION);
+
     Mem::Init();
 
     cbdataInit();
index 7abf90977046fcf7bf094443185aff0088b3515c..24da87d9d3323511d2ed413a68ab76c14076ad2f 100644 (file)
@@ -52,6 +52,8 @@ testNull::commonInit()
     /* garh garh */
     storeReplAdd("lru", createRemovalPolicy_lru);
 
+    visible_appname_string = xstrdup(PACKAGE "/" VERSION);
+
     Mem::Init();
 
     cbdataInit();
index 0b0d594b9eda378affdb6c2528e02a61ae136992..b14f0ab425c13562d3fbd4611df33574240c93ce 100644 (file)
@@ -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);