1207619Srdivacky/* 2207619Srdivacky * CDDL HEADER START 3207619Srdivacky * 4207619Srdivacky * The contents of this file are subject to the terms of the 5207619Srdivacky * Common Development and Distribution License (the "License"). 6207619Srdivacky * You may not use this file except in compliance with the License. 7207619Srdivacky * 8207619Srdivacky * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9207619Srdivacky * or http://www.opensolaris.org/os/licensing. 10207619Srdivacky * See the License for the specific language governing permissions 11207619Srdivacky * and limitations under the License. 12207619Srdivacky * 13207619Srdivacky * When distributing Covered Code, include this CDDL HEADER in each 14207619Srdivacky * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15207619Srdivacky * If applicable, add the following below this CDDL HEADER, with the 16207619Srdivacky * fields enclosed by brackets "[]" replaced with your own identifying 17207619Srdivacky * information: Portions Copyright [yyyy] [name of copyright owner] 18207619Srdivacky * 19207619Srdivacky * CDDL HEADER END 20207619Srdivacky */ 21207619Srdivacky 22249423Sdim/* 23207619Srdivacky * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24207619Srdivacky * Use is subject to license terms. 25207619Srdivacky */ 26207619Srdivacky 27207619Srdivacky#pragma ident "%Z%%M% %I% %E% SMI" 28207619Srdivacky 29207619Srdivacky/* 30207619Srdivacky * ASSERTION: 31263508Sdim * Positive count() test 32207619Srdivacky * 33207619Srdivacky * SECTION: Aggregations/Aggregations 34207619Srdivacky */ 35207619Srdivacky 36207619Srdivacky#pragma D option quiet 37207619Srdivacky 38207619SrdivackyBEGIN 39207619Srdivacky{ 40207619Srdivacky i = 0; 41207619Srdivacky} 42207619Srdivacky 43263508Sdimtick-10ms 44207619Srdivacky/i != 10/ 45207619Srdivacky{ 46263508Sdim i++; 47207619Srdivacky @counts["tick-count"] = count(); 48207619Srdivacky} 49207619Srdivacky 50207619Srdivackytick-10ms 51207619Srdivacky/i == 10/ 52207619Srdivacky{ 53207619Srdivacky exit(0); 54207619Srdivacky} 55207619Srdivacky