summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@wiredtiger.com>2011-12-25 11:01:40 +0000
committerKeith Bostic <keith.bostic@wiredtiger.com>2011-12-25 11:01:40 +0000
commitabafc98f065b028406ca6210a18cb5075079ffc3 (patch)
tree0aa300fbe979a6f8f3916735e6a5e85414cfada4 /examples
parent9aa85dd06a6eb518480f85b5b732456dad3af8d8 (diff)
downloadmongo-abafc98f065b028406ca6210a18cb5075079ffc3.tar.gz
Have the script remove/re-create the WT_TEST directory.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/c/run-tpcb3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/c/run-tpcb b/examples/c/run-tpcb
index c5495f399aa..90f5812daad 100755
--- a/examples/c/run-tpcb
+++ b/examples/c/run-tpcb
@@ -1,4 +1,7 @@
#!/bin/sh
+rm -rf WT_TEST
+test -d WT_TEST || mkdir WT_TEST
+
./ex_tpcb -i
./ex_tpcb -n 1000