diff options
author | fche <fche> | 2006-08-12 05:13:09 +0000 |
---|---|---|
committer | fche <fche> | 2006-08-12 05:13:09 +0000 |
commit | 814bc89d4635f101b2c0077598f31aad95ed15b7 (patch) | |
tree | 407a49dbaf446af4751f5068607a7fb8dad0611d /testsuite/systemtap.printf/string2.exp | |
parent | 6b6d04673a1ef175821afc7d4fabdb496698e8e3 (diff) | |
download | systemtap-steved-814bc89d4635f101b2c0077598f31aad95ed15b7.tar.gz systemtap-steved-814bc89d4635f101b2c0077598f31aad95ed15b7.tar.xz systemtap-steved-814bc89d4635f101b2c0077598f31aad95ed15b7.zip |
2006-08-12 Frank Ch. Eigler <fche@elastic.org>
* configure.ac, Makefile.am: Descend into testsuite/
directory. Remove local test logic.
* configure, Makefile.in: Regenerated.
* runtest.sh: Not yet removed.
* HACKING: Update for new testsuite layout.
2006-08-12 Frank Ch. Eigler <fche@elastic.org>
* all: Reorganized old pass-1..4 tests one dejagnu bucket.
Moved over old pass-5 tests, except for disabled syscalls tests.
* Makefile (installcheck): New target for running pass-1..5
tests against installed systemtap.
Diffstat (limited to 'testsuite/systemtap.printf/string2.exp')
-rw-r--r-- | testsuite/systemtap.printf/string2.exp | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/testsuite/systemtap.printf/string2.exp b/testsuite/systemtap.printf/string2.exp new file mode 100644 index 00000000..a64bfa38 --- /dev/null +++ b/testsuite/systemtap.printf/string2.exp @@ -0,0 +1,119 @@ +set test "string2" +set ::result_string {s is <12345678901234567890123456789012345678901234567890> +t is <1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890> + 0: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 2: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 3: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 4: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 5: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 6: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 7: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 8: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 9: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +10: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +11: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +12: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +13: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +14: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +15: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +16: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +17: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +18: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +19: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +20: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +21: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +22: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +23: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +24: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +25: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +26: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +27: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +28: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +29: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +30: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +31: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +32: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +33: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +34: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +35: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +36: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +37: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +38: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +39: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +40: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +41: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +42: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +43: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +44: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +45: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +46: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +47: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +48: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +49: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +50: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +51: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +52: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +53: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +54: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +55: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +56: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +57: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +58: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +59: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +60: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +61: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +62: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +63: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +64: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +65: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +66: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +67: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +68: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +69: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +70: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +71: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +72: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +73: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +74: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +75: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +76: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +77: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +78: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +79: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +80: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +81: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +82: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +83: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +84: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +85: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +86: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +87: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +88: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +89: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +90: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +91: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +92: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +93: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +94: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +95: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +96: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +97: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +98: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +99: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890} + +set TEST_NAME "$srcdir/$subdir/$test.stp" + +if {![installtest_p]} { untested $TEST_NAME; return } + +set res [exec stap $TEST_NAME] + +if {[string compare $res $::result_string] == 0} { + pass "$TEST_NAME passed" +} else { + fail "$TEST_NAME failed" + puts "EXPECTED:\n-----------------------\n<$::result_string>" + puts "-----------------------\n" + puts "GOT:\n-----------------------\n<$res>" + puts "-----------------------\n" +} |