<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Date change testing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/date-change-testing/m-p/3183448#M795249</link>
    <description>Ultimately all of these talk to the time() system call and there is only one system time. Your best bet to minimize the impact would be to shut down all other databases / applications except the one under test. You have just found one of the things that a Sandbox (as opposed to a Test environment) is made to do.&lt;BR /&gt;</description>
    <pubDate>Wed, 04 Feb 2004 22:23:53 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2004-02-04T22:23:53Z</dc:date>
    <item>
      <title>Date change testing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-change-testing/m-p/3183447#M795248</link>
      <description>We have a problem which I am sure must be fairly common.  We need to test that our software functions correctly for specific dates.  For a complete test, we set the system date to a specific date and run the test.  With our recent server consolidation, this becomes very difficult, as we do not want to affect other environments on the same server.&lt;BR /&gt;&lt;BR /&gt;Is there a software product or other solution that will allow us to get a certain set of processes to see a different date from the rest?  It would need to be able to fool Oracle and cron.&lt;BR /&gt;&lt;BR /&gt;One solution would be v-pars, but it seems a pretty heavy-weight solution for what we want to do.  Are there any other options?&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Feb 2004 21:52:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-change-testing/m-p/3183447#M795248</guid>
      <dc:creator>Oliver White</dc:creator>
      <dc:date>2004-02-04T21:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Date change testing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-change-testing/m-p/3183448#M795249</link>
      <description>Ultimately all of these talk to the time() system call and there is only one system time. Your best bet to minimize the impact would be to shut down all other databases / applications except the one under test. You have just found one of the things that a Sandbox (as opposed to a Test environment) is made to do.&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Feb 2004 22:23:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-change-testing/m-p/3183448#M795249</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-02-04T22:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Date change testing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-change-testing/m-p/3183449#M795250</link>
      <description>If you are testing for Daylight Saving changes, you're in luck. HP-UX allows you to define *any* timezone you like. You can invent a new one, even use your own initials if you want (like Aho, Weinberger and Kernighan, aka, awk)! Seriously, all date/time on HP-UX is kept as GMT/Zulu and never jumps for Daylight Saving or timezones. Instead, a table, /usr/lib/tztab defines each timezone and the rules about time changes. System calls to ask for the current time go through the tztab entry for the current value of TZ. For example:&lt;BR /&gt; &lt;BR /&gt;TZ=EST5EDT date&lt;BR /&gt;TZ=PST8PDT date&lt;BR /&gt;TZ=GMT date&lt;BR /&gt; &lt;BR /&gt;So if your testing only involves Daylight Saving then use TZ to set a new timezone. If testing involves dates that are days or weeks in the past or future, then you'll need a separate machine as the date/time is a basic kernel service.</description>
      <pubDate>Wed, 04 Feb 2004 23:28:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-change-testing/m-p/3183449#M795250</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-02-04T23:28:07Z</dc:date>
    </item>
  </channel>
</rss>

