aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-26 14:08:33 +0000
committerYang Tse <yangsita@gmail.com>2008-09-26 14:08:33 +0000
commit42271ad4631e4d2eadd0f408f13704a152cb2fea (patch)
treea6554acd895025315b92ef9e1e35b2edb05db306 /tests/runtests.pl
parent57ee847ce7e07b2744f46be990f887d067c00d44 (diff)
use shift right. Division result is not integral.
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 77787dc3f..4cd390b5d 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -2108,7 +2108,7 @@ sub singletest {
$cmdres = 1000;
}
else {
- $cmdres /= 256;
+ $cmdres >>= 8;
}
}
if(!$dumped_core) {