summaryrefslogtreecommitdiffstats
path: root/testsuite/semok/seven.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semok/seven.stp')
-rwxr-xr-xtestsuite/semok/seven.stp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/semok/seven.stp b/testsuite/semok/seven.stp
index 8351c1e2..b9ce8cb9 100755
--- a/testsuite/semok/seven.stp
+++ b/testsuite/semok/seven.stp
@@ -7,7 +7,7 @@ function printk (s) { str=s.""; return 0 } # to become a built-in
function search (key)
{
- if (1) # (key in ar1)
+ if (key in ar1)
{ ar1[key] ++; return ar2[ar1[key]] }
else
return "no can do" # implies ar2[]: string
@@ -22,6 +22,6 @@ probe syscall("zamboni")
probe end
{
# for (key in ar2)
- if (1) # (key in ar2)
+ if (key in ar2)
printk ("this: " . string (key) . " was " . ar2[key])
}