summaryrefslogtreecommitdiff
path: root/libdb/test/scr022/chk.rr
diff options
context:
space:
mode:
Diffstat (limited to 'libdb/test/scr022/chk.rr')
-rw-r--r--libdb/test/scr022/chk.rr22
1 files changed, 0 insertions, 22 deletions
diff --git a/libdb/test/scr022/chk.rr b/libdb/test/scr022/chk.rr
deleted file mode 100644
index 5b9a09113..000000000
--- a/libdb/test/scr022/chk.rr
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh -
-#
-# $Id$
-
-d=../..
-
-t1=__1
-
-# Check for DB_RUNRECOVERY being specified instead of a call to db_panic.
-egrep DB_RUNRECOVERY $d/*/*.c |
- sed -e '/common\/db_err.c:/d' \
- -e '/libdb_java\/java_util.c:/d' \
- -e '/db_dispatch.c:.*if (ret == DB_RUNRECOVERY/d' \
- -e '/txn.c:.* \* DB_RUNRECOVERY and we need to/d' \
- -e '/__db_panic(.*, DB_RUNRECOVERY)/d' > $t1
-[ -s $t1 ] && {
- echo "DB_RUNRECOVERY used; should be a call to db_panic."
- cat $t1
- exit 1
-}
-
-exit 0