summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/array_size.exp
diff options
context:
space:
mode:
authorjistone <jistone>2006-12-22 22:18:02 +0000
committerjistone <jistone>2006-12-22 22:18:02 +0000
commitd950d08e6f21c19fa63a4435fd7071fe02c66745 (patch)
treecac54fc5a75ac8ec25487dc97296ae1cfa235b73 /testsuite/systemtap.base/array_size.exp
parent4256c24cb293c78296a64e3c72978431a04dfc64 (diff)
downloadsystemtap-steved-d950d08e6f21c19fa63a4435fd7071fe02c66745.tar.gz
systemtap-steved-d950d08e6f21c19fa63a4435fd7071fe02c66745.tar.xz
systemtap-steved-d950d08e6f21c19fa63a4435fd7071fe02c66745.zip
2006-12-22 Josh Stone <joshua.i.stone@intel.com>
* stap.1.in: Document how to specify the size of global arrays. testsuite/ * buildok/array_size.stp, parseko/array01.stp, parseko/array02.stp, parseko/array03.stp, parseko/array04.stp, transko/array01.stp, systemtap.base/array_size.exp, systemtap.base/array_size.stp: Tests for specifying the size of global arrays.
Diffstat (limited to 'testsuite/systemtap.base/array_size.exp')
-rw-r--r--testsuite/systemtap.base/array_size.exp7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/array_size.exp b/testsuite/systemtap.base/array_size.exp
new file mode 100644
index 00000000..86aec8ab
--- /dev/null
+++ b/testsuite/systemtap.base/array_size.exp
@@ -0,0 +1,7 @@
+# Check that specifying an array size gives more room than MAXMAPENTRIES
+
+load_lib "stap_run.exp"
+
+set test "array_size"
+
+stap_run $srcdir/$subdir/$test.stp no_load $all_pass_string -DMAXMAPENTRIES=1