1
# See the file LICENSE for redistribution information.
3
# Copyright (c) 1999-2002
4
# Sleepycat Software. All rights reserved.
6
# $Id: env006.tcl,v 11.8 2002/01/11 15:53:23 bostic Exp $
9
# TEST Make sure that all the utilities exist and run.
13
puts "Env006: Run underlying utilities."
16
{ "db_archive" "Env006.a"}
17
{ "db_checkpoint" "Env006.b"}
18
{ "db_deadlock" "Env006.c"}
19
{ "db_dump" "Env006.d"}
20
{ "db_load" "Env006.e"}
21
{ "db_printlog" "Env006.f"}
22
{ "db_recover" "Env006.g"}
23
{ "db_stat" "Env006.h"}
24
{ "db_upgrade" "Env006.h"}
25
{ "db_verify" "Env006.h"}
28
set cmd [lindex $pair 0]
29
set msg [lindex $pair 1]
33
set stat [catch {exec $util_path/$cmd -?} ret]
34
error_check_good $cmd $stat 1
37
# Check for "usage", but only check "sage" so that
38
# we can handle either Usage or usage.
40
error_check_good $cmd.err [is_substr $ret sage] 1