summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/csuite/wt4105_large_doc_small_upd/smoke.sh
blob: e8cfe61081f3674778baaf2078f35aa52b4f70fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh

set -e

# Smoke-test wt4105_large_doc_small_upd as part of running "make check".

if [ -n "$1" ]
then
    # If the test binary is passed in manually.
    test_bin=$1
else
    # If $top_builddir/$top_srcdir aren't set, default to building in build_posix
    # and running in test/csuite.
    top_builddir=${top_builddir:-../../build_posix}
    top_srcdir=${top_srcdir:-../..}
    test_bin=$top_builddir/test/csuite/test_wt4105_large_doc_small_upd
fi

$TEST_WRAPPER $test_bin -t r
$TEST_WRAPPER $test_bin -t c