summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/cache.exp
diff options
context:
space:
mode:
authordsmith <dsmith>2006-12-21 15:51:57 +0000
committerdsmith <dsmith>2006-12-21 15:51:57 +0000
commitb8cd7200c6f07c878b62871e6915fc58c87a6cee (patch)
tree386b0bb6d61c1afbd1e3af2a764867092a7c4211 /testsuite/systemtap.base/cache.exp
parent402cc02c5391b10a2abd867dc3f1cccc5c8c1639 (diff)
downloadsystemtap-steved-b8cd7200c6f07c878b62871e6915fc58c87a6cee.tar.gz
systemtap-steved-b8cd7200c6f07c878b62871e6915fc58c87a6cee.tar.xz
systemtap-steved-b8cd7200c6f07c878b62871e6915fc58c87a6cee.zip
2006-12-21 David Smith <dsmith@redhat.com>
* systemtap.base/cache.exp: Added test to ensure that using '-b' changes the hash.
Diffstat (limited to 'testsuite/systemtap.base/cache.exp')
-rw-r--r--testsuite/systemtap.base/cache.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/cache.exp b/testsuite/systemtap.base/cache.exp
index 439898ab..c4a81d4d 100644
--- a/testsuite/systemtap.base/cache.exp
+++ b/testsuite/systemtap.base/cache.exp
@@ -83,6 +83,10 @@ stap_compile BASIC2 [F_CACHED_COMPILE] $basic_script1
stap_compile OPTION1 [F_UNCACHED_COMPILE] $basic_script1 -DFOO=1
stap_compile OPTION2 [F_CACHED_COMPILE] $basic_script1 -DFOO=1
+# Using '-b' (bulk/relayfs mode) should change the hash
+stap_compile BULK1 [F_UNCACHED_COMPILE] $basic_script1 -b
+stap_compile BULK2 [F_CACHED_COMPILE] $basic_script1 -b
+
# Changing the runtime directory should change the hash
set new_runtime [exec pwd]/.cache_test_runtime
exec /bin/rm -f $new_runtime