diff options
author | David Smith <dsmith@redhat.com> | 2010-02-02 16:14:39 -0600 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2010-02-02 16:14:39 -0600 |
commit | fff4e6c6e4bb5bd1046164d697872f0bc1a48f4c (patch) | |
tree | ebfb0bfe169101eba8ee3be8fc4eda1df4847f59 /testsuite/systemtap.base/procfs_write.exp | |
parent | 1c64350c56271d1dee13f813aa8c78ece33e3cd5 (diff) | |
download | systemtap-steved-fff4e6c6e4bb5bd1046164d697872f0bc1a48f4c.tar.gz systemtap-steved-fff4e6c6e4bb5bd1046164d697872f0bc1a48f4c.tar.xz systemtap-steved-fff4e6c6e4bb5bd1046164d697872f0bc1a48f4c.zip |
Fix procfs_write.exp so that it will pass under RHELl5.
* testsuite/systemtap.base/procfs_write.exp: Small changes for RHEL5
support.
* testsuite/lib/stap_run.exp (stap_run): Increase maximum number of
characters to match against.
Diffstat (limited to 'testsuite/systemtap.base/procfs_write.exp')
-rw-r--r-- | testsuite/systemtap.base/procfs_write.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.base/procfs_write.exp b/testsuite/systemtap.base/procfs_write.exp index 5bb35532..68338b8c 100644 --- a/testsuite/systemtap.base/procfs_write.exp +++ b/testsuite/systemtap.base/procfs_write.exp @@ -96,8 +96,8 @@ set test_string \ # Now we need the version of the above string that expect will look # for. So, we need to convert all '\n' to '\r\n' and add a trailing # '\r\n'. -regsub -all {\n} $test_string {\r\n} test_string2 -set test_string2 "$test_string2\\r\\n" +regsub -all {\n} $test_string "\r\n" test_string2 +set test_string2 "$test_string2\r\n" proc proc_write_test {} { global test test_string |