1#!/usr/bin/ksh -p 2 3# 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 7# 1.0 of the CDDL. 8# 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. 12# 13 14# 15# Copyright (c) 2019 by Delphix. All rights reserved. 16# 17 18. $STF_SUITE/include/libtest.shlib 19 20# 21# Description: 22# The `btree_test` binary runs a series of positive tests when called 23# without arguments. 24# 25# insert_find_remove - Basic functionality test 26# find_without_index - Using the find function with a NULL argument 27# drain_tree - Fill the tree then empty it using the first and last 28# functions 29# stress_tree - Allow the tree to have items added and removed for a 30# given amount of time 31# 32 33log_must btree_test 34 35log_pass "Btree positive tests passed" 36