From 68e7e59b32783bc9a40cddecbfdf6a19ba0d8e42 Mon Sep 17 00:00:00 2001 From: dsmith Date: Thu, 26 Oct 2006 14:43:13 +0000 Subject: 2006-10-26 David Smith * systemtap.base/cache.exp: New file that tests caching functionality. * lib/systemtap.exp (setup_systemtap_environment): Use a local systemtap directory/cache (instead of the user's cache). * .cvsignore: Added .systemtap directory. --- testsuite/lib/systemtap.exp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'testsuite/lib') diff --git a/testsuite/lib/systemtap.exp b/testsuite/lib/systemtap.exp index 8465b91f..5c644d25 100644 --- a/testsuite/lib/systemtap.exp +++ b/testsuite/lib/systemtap.exp @@ -48,6 +48,9 @@ proc setup_systemtap_environment {} { set env(SYSTEMTAP_RUNTIME) $env(SRCDIR)/runtime set env(PATH) ..:$env(PATH) } + + # Use a local systemtap directory and cache + set env(SYSTEMTAP_DIR) [exec pwd]/.systemtap } @@ -70,4 +73,4 @@ proc stap_run_batch {args} { set results [wait] verbose -log "wait results: $results" return [lindex $results 3] -} \ No newline at end of file +} -- cgit