diff options
author | fche <fche> | 2007-06-22 21:29:44 +0000 |
---|---|---|
committer | fche <fche> | 2007-06-22 21:29:44 +0000 |
commit | e37e7136a2d67d7b162a45412acbac47bbe5ea69 (patch) | |
tree | dc226014d08b4f7e4621a987e4b83777661f3a6b | |
parent | 18acf318364cb5337629df5afe1f304952f0e19e (diff) | |
download | systemtap-steved-e37e7136a2d67d7b162a45412acbac47bbe5ea69.tar.gz systemtap-steved-e37e7136a2d67d7b162a45412acbac47bbe5ea69.tar.xz systemtap-steved-e37e7136a2d67d7b162a45412acbac47bbe5ea69.zip |
2007-06-22 Frank Ch. Eigler <fche@elastic.org>
* systemtap.syscall/readwrite.c: Tweak for new default string truncation width.
-rw-r--r-- | testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | testsuite/systemtap.syscall/readwrite.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index e0791a1a..1160993b 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-06-22 Frank Ch. Eigler <fche@elastic.org> + + * systemtap.syscall/readwrite.c: Tweak for new default string truncation width. + 2007-06-21 David Smith <dsmith@redhat.com> * Makefile.in: Regenerated with automake 1.10. diff --git a/testsuite/systemtap.syscall/readwrite.c b/testsuite/systemtap.syscall/readwrite.c index 6d53207d..71d8d774 100644 --- a/testsuite/systemtap.syscall/readwrite.c +++ b/testsuite/systemtap.syscall/readwrite.c @@ -30,8 +30,8 @@ int main() write(fd,"Hello world", 11); // write (NNNN, "Hello world", 11) = 11 - write(fd,"Hello world abcdefghijklmnopqrstuvwxyz 01234567890", 50); - // write (NNNN, "Hello world abc"..., 50) = 50 + write(fd,"Hello world abcdefghijklmnopqrstuvwxyz 01234567890123456789", 59); + // write (NNNN, "Hello world abcdefghijklmnopqrstuvwxyz 012345"..., 59) = 59 writev(fd, v, 3); // writev (NNNN, XXXX, 3) = 15 @@ -43,7 +43,7 @@ int main() // lseek (NNNN, 1, SEEK_CUR) = 1 lseek(fd, -1, SEEK_END); - // lseek (NNNN, -1, SEEK_END) = 75 + // lseek (NNNN, -1, SEEK_END) = 84 #ifdef SYS__llseek syscall(SYS__llseek, fd, 1, 0, &res, SEEK_SET); |