4 # This file and its contents are supplied under the terms of the
5 # Common Development and Distribution License ("CDDL"), version 1.0.
6 # You may only use this file in accordance with the terms of version
9 # A full copy of the text of the CDDL should have accompanied this
10 # source. A copy of the CDDL is also available via the Internet at
11 # http://www.illumos.org/license/CDDL.
14 # Copyright 2016, Richard Lowe.
16 select_test
=$
(dirname $0)/select_test
19 # Below the stack and bulk alloc limits
21 while (( $i < 500 )); do
24 $select_test 512 ||
exit 1
27 # above the stack limit
29 while (( $i < 500 )); do
32 $select_test 2048 ||
exit 1
35 # above the bulk limit
37 while (( $i < 500 )); do
40 $select_test 9001 ||
exit 1