aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-10-06 21:56:51 +0200
committerPetr Machata <pmachata@redhat.com>2012-10-14 20:13:10 +0200
commit8657ce611019ed180e5cca1d413ceddd680cfe67 (patch)
treef95242e8f51b08ef1e3c4f65aff034d8e478c386 /testsuite
parent0c4f66d02980f16989ab9a70e01066df78cb48f8 (diff)
downloadltrace-8657ce611019ed180e5cca1d413ceddd680cfe67.tar.gz
ltrace.exp: Drop unused proc ltrace_saveoutput
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/lib/ltrace.exp17
1 files changed, 0 insertions, 17 deletions
diff --git a/testsuite/lib/ltrace.exp b/testsuite/lib/ltrace.exp
index c0d0dcf..8423d00 100644
--- a/testsuite/lib/ltrace.exp
+++ b/testsuite/lib/ltrace.exp
@@ -327,23 +327,6 @@ proc ltrace_runtest { args } {
}
#
-# ltrace_saveoutput OUTPUT FILE
-# Save OUTPUT from ltrace to file FILE.
-# OUTPUT is output from ltrace or return value of ltrace_runtest.
-# FILE is file save output.
-#
-proc ltrace_saveoutput { args } {
-
- set output [lindex $args 0]
- set file [lindex $args 1]
-
- set fd [open $file w]
- puts $fd $output
- close $fd
-}
-
-
-#
# ltrace_verify_output FILE_TO_SEARCH PATTERN MAX_LINE
# Verify the ltrace output by comparing the number of PATTERN in
# FILE_TO_SEARCH with INSTANCE_NO. Do not specify INSTANCE_NO if