public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.8-23-gd917e52
@ 2009-06-18 1:24 jistone
0 siblings, 0 replies; only message in thread
From: jistone @ 2009-06-18 1:24 UTC (permalink / raw)
To: systemtap-cvs
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "systemtap: system-wide probe/trace tool".
The branch, master has been updated
via d917e520b1bd36e2230312ab25c61e6161cdc372 (commit)
via 7f12f9a3f6aeb2452acedced5a54c66c4a19382b (commit)
from 44b73c9d467fe0383d33dce5f1217e023f3b203b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d917e520b1bd36e2230312ab25c61e6161cdc372
Author: Josh Stone <jistone@redhat.com>
Date: Wed Jun 17 18:23:39 2009 -0700
Refactor common code in the tokenize test
commit 7f12f9a3f6aeb2452acedced5a54c66c4a19382b
Author: Przemyslaw Pawelczyk <przemyslaw@pawelczyk.it>
Date: Thu Jun 18 01:50:31 2009 +0200
Fix tokenize function and test.
Previous implementation was error-prone, because allowed returning empty
tokens (mimiced strsep()), which is fine if there is a NULL semantic.
Unfortunately SystemTap doesn't provide it in scripts and has only blank
string (""), therefore testing against it was misleading.
The solution is to return only non-empty tokens (mimic strtok()).
* tapset/string.stp: Fix tokenize.
* testsuite/systemtap.string/tokenize.stp: Improve and add case with
more than one delimiter in the delim string.
* testsuite/systemtap.string/tokenize.exp: Ditto.
* stapfuncs.3stap.in: Update tokenize description.
* doc/langref.tex: Ditto.
Signed-off-by: Josh Stone <jistone@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
doc/langref.tex | 4 +-
stapfuncs.3stap.in | 6 ++--
tapset/string.stp | 23 ++++++++----
testsuite/systemtap.string/tokenize.exp | 19 ++++++++++-
testsuite/systemtap.string/tokenize.stp | 54 +++++++++++--------------------
5 files changed, 56 insertions(+), 50 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-18 1:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-18 1:24 [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.8-23-gd917e52 jistone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).