summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.syscall/chmod.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-05-04 16:06:14 -0400
committerDave Brolley <brolley@redhat.com>2009-05-04 16:06:14 -0400
commitfac37258fd3c7710407203b206963c7bff57075d (patch)
treef0b053d28c4c9593f872b3004c99729ffb27e18c /testsuite/systemtap.syscall/chmod.c
parent2035bcd40b17832439df0a1eb28403b99a71b74f (diff)
parent97d1fa6e24d8d4e8ceefc62f0d4a7f93a18e4125 (diff)
downloadsystemtap-steved-fac37258fd3c7710407203b206963c7bff57075d.tar.gz
systemtap-steved-fac37258fd3c7710407203b206963c7bff57075d.tar.xz
systemtap-steved-fac37258fd3c7710407203b206963c7bff57075d.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.syscall/chmod.c')
-rw-r--r--testsuite/systemtap.syscall/chmod.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/testsuite/systemtap.syscall/chmod.c b/testsuite/systemtap.syscall/chmod.c
index 9b0c58e1..724b86c4 100644
--- a/testsuite/systemtap.syscall/chmod.c
+++ b/testsuite/systemtap.syscall/chmod.c
@@ -11,70 +11,70 @@ int main()
int fd;
fd = open("foobar",O_WRONLY|O_CREAT, 0666);
- // open ("foobar", O_WRONLY|O_CREAT, 0666) = NNNN
+ //staptest// open ("foobar", O_WRONLY|O_CREAT, 0666) = NNNN
chmod("foobar", 0644);
- // chmod ("foobar", 0644)
- // fchmodat (AT_FDCWD, "foobar", 0644) = 0
+ //staptest// chmod ("foobar", 0644)
+ //staptest// fchmodat (AT_FDCWD, "foobar", 0644) = 0
fchmod(fd, 0444);
- // fchmod (NNNN, 0444) = 0
+ //staptest// fchmod (NNNN, 0444) = 0
chown("foobar", 5000, -1);
#ifdef __i386__
- // chown ("foobar", 5000, -1) =
+ //staptest// chown ("foobar", 5000, -1) =
#else
- // chown ("foobar", 5000, NNNN) =
+ //staptest// chown ("foobar", 5000, NNNN) =
#endif
chown("foobar", -1, 5001);
#ifdef __i386__
- // chown ("foobar", -1, 5001) =
+ //staptest// chown ("foobar", -1, 5001) =
#else
- // chown ("foobar", NNNN, 5001) =
+ //staptest// chown ("foobar", NNNN, 5001) =
#endif
fchown(fd, 5002, -1);
#ifdef __i386__
- // fchown (NNNN, 5002, -1) =
+ //staptest// fchown (NNNN, 5002, -1) =
#else
- // fchown (NNNN, 5002, NNNN) =
+ //staptest// fchown (NNNN, 5002, NNNN) =
#endif
fchown(fd, -1, 5003);
#ifdef __i386__
- // fchown (NNNN, -1, 5003) =
+ //staptest// fchown (NNNN, -1, 5003) =
#else
- // fchown (NNNN, NNNN, 5003) =
+ //staptest// fchown (NNNN, NNNN, 5003) =
#endif
lchown("foobar", 5004, -1);
#ifdef __i386__
- // lchown ("foobar", 5004, -1) =
+ //staptest// lchown ("foobar", 5004, -1) =
#else
- // lchown ("foobar", 5004, NNNN) =
+ //staptest// lchown ("foobar", 5004, NNNN) =
#endif
lchown("foobar", -1, 5005);
#ifdef __i386__
- // lchown ("foobar", -1, 5005) =
+ //staptest// lchown ("foobar", -1, 5005) =
#else
- // lchown ("foobar", NNNN, 5005) =
+ //staptest// lchown ("foobar", NNNN, 5005) =
#endif
#ifdef __i386__
syscall(SYS_chown, "foobar", 5000, -1);
- // chown16 ("foobar", 5000, -1) =
+ //staptest// chown16 ("foobar", 5000, -1) =
syscall(SYS_chown, "foobar", -1, 5001);
- // chown16 ("foobar", -1, 5001) =
+ //staptest// chown16 ("foobar", -1, 5001) =
syscall(SYS_fchown, fd, 5002, -1);
- // fchown16 (NNNN, 5002, -1) =
+ //staptest// fchown16 (NNNN, 5002, -1) =
syscall(SYS_fchown, fd, -1, 5003);
- // fchown16 (NNNN, -1, 5003) =
+ //staptest// fchown16 (NNNN, -1, 5003) =
syscall(SYS_lchown, "foobar", 5004, -1);
- // lchown16 ("foobar", 5004, -1) =
+ //staptest// lchown16 ("foobar", 5004, -1) =
syscall(SYS_lchown, "foobar", -1, 5005);
- // lchown16 ("foobar", -1, 5005) =
+ //staptest// lchown16 ("foobar", -1, 5005) =
#endif
close(fd);