diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-01-12 21:29:37 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-01-12 21:29:37 -0500 |
commit | 794dacb8ae89cfb594112d08aa3ce5789599fa5f (patch) | |
tree | 34edc01bc726a65bc68de7f436b5808f979f39c1 /testsuite/systemtap.syscall/stat.c | |
parent | e1ef65568215f5b68074acd08339fd5fc9fa4e3b (diff) | |
parent | dc241cba4d146835d7bdc3c32133aad27cdfc8e4 (diff) | |
download | systemtap-steved-794dacb8ae89cfb594112d08aa3ce5789599fa5f.tar.gz systemtap-steved-794dacb8ae89cfb594112d08aa3ce5789599fa5f.tar.xz systemtap-steved-794dacb8ae89cfb594112d08aa3ce5789599fa5f.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.syscall/stat.c')
-rw-r--r-- | testsuite/systemtap.syscall/stat.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/testsuite/systemtap.syscall/stat.c b/testsuite/systemtap.syscall/stat.c index 1b31d816..deade3e0 100644 --- a/testsuite/systemtap.syscall/stat.c +++ b/testsuite/systemtap.syscall/stat.c @@ -36,12 +36,19 @@ int main() ubuf.actime = 1; ubuf.modtime = 1135641600; utime("foobar", &ubuf); +#ifdef __ia64__ + // utimes ("foobar", \[1.000000\]\[1135641600.000000\]) = +#else // utime ("foobar", \[1970/01/01-00:00:01, 2005/12/27-00:00:00\]) = 0 +#endif ubuf.actime = 1135690000; ubuf.modtime = 1135700000; utime("foobar", &ubuf); +#ifdef __ia64__ + // utimes ("foobar", \[1135690000.000000\]\[1135700000.000000\]) = +#else // utime ("foobar", \[2005/12/27-13:26:40, 2005/12/27-16:13:20\]) = 0 - +#endif return 0; } |