Commit 75a9df45 authored by Claes's avatar Claes Committed by Esteban Blanc

Test programs, tzset removed

parent 102c0972
...@@ -1293,8 +1293,8 @@ int main() ...@@ -1293,8 +1293,8 @@ int main()
ra_cdhtest cdh; ra_cdhtest cdh;
pwr_tStatus sts; pwr_tStatus sts;
setenv("TZ", "Europe/Stockholm", 1); // setenv("TZ", "Europe/Stockholm", 1);
tzset(); // tzset();
sts = gdh_Init("ra_cdhtest"); sts = gdh_Init("ra_cdhtest");
if (EVEN(sts)) { if (EVEN(sts)) {
......
...@@ -3387,8 +3387,8 @@ int main() ...@@ -3387,8 +3387,8 @@ int main()
{ {
ra_gdhtest gdh; ra_gdhtest gdh;
setenv("TZ", "Europe/Stockholm", 1); // setenv("TZ", "Europe/Stockholm", 1);
tzset(); // tzset();
gdh.Init(); gdh.Init();
gdh.ObjidToName(); gdh.ObjidToName();
......
...@@ -624,8 +624,8 @@ int main() ...@@ -624,8 +624,8 @@ int main()
{ {
ra_nethtest neth; ra_nethtest neth;
setenv("TZ", "Europe/Stockholm", 1); // setenv("TZ", "Europe/Stockholm", 1);
tzset(); // tzset();
neth.ObjidToName(); neth.ObjidToName();
neth.GetChild(); neth.GetChild();
......
...@@ -1098,8 +1098,8 @@ int main() ...@@ -1098,8 +1098,8 @@ int main()
ra_timetest time; ra_timetest time;
pwr_tStatus sts; pwr_tStatus sts;
setenv("TZ", "Europe/Stockholm", 1); // setenv("TZ", "Europe/Stockholm", 1);
tzset(); // tzset();
sts = gdh_Init("ra_timetest"); sts = gdh_Init("ra_timetest");
if (EVEN(sts)) { if (EVEN(sts)) {
......
...@@ -595,7 +595,7 @@ main() ...@@ -595,7 +595,7 @@ main()
int log; int log;
verify(0); verify(0);
tzset("Europe/Stockholm"); # tzset("Europe/Stockholm");
log = tstlog_open("op-XttScript", "$pwrp_log/xttscript.tlog"); log = tstlog_open("op-XttScript", "$pwrp_log/xttscript.tlog");
ccm_CutObjectName(log); ccm_CutObjectName(log);
......
...@@ -757,7 +757,7 @@ main() ...@@ -757,7 +757,7 @@ main()
verify(0); verify(0);
int log; int log;
tzset("Europe/Stockholm"); # tzset("Europe/Stockholm");
login pwrp pwrp login pwrp pwrp
log = tstlog_open("wb_build-RootVolume", "$pwrp_log/pwrtest02_rootvolume.tlog"); log = tstlog_open("wb_build-RootVolume", "$pwrp_log/pwrtest02_rootvolume.tlog");
......
...@@ -2399,8 +2399,8 @@ int main(int argc, char *argv[]) ...@@ -2399,8 +2399,8 @@ int main(int argc, char *argv[])
if (argc > 1) if (argc > 1)
ldh.vname(argv[1]); ldh.vname(argv[1]);
setenv("TZ", "Europe/Stockholm", 1); // setenv("TZ", "Europe/Stockholm", 1);
tzset(); // tzset();
ldh.OpenWB(); ldh.OpenWB();
ldh.AttachVolume(); ldh.AttachVolume();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment