summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/csuite/wt4105_large_doc_small_upd/smoke.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/csuite/wt4105_large_doc_small_upd/smoke.sh')
-rwxr-xr-xsrc/third_party/wiredtiger/test/csuite/wt4105_large_doc_small_upd/smoke.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/test/csuite/wt4105_large_doc_small_upd/smoke.sh b/src/third_party/wiredtiger/test/csuite/wt4105_large_doc_small_upd/smoke.sh
new file mode 100755
index 00000000000..e8cfe61081f
--- /dev/null
+++ b/src/third_party/wiredtiger/test/csuite/wt4105_large_doc_small_upd/smoke.sh
@@ -0,0 +1,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