~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to libdb/test/env006.tcl

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# See the file LICENSE for redistribution information.
2
 
#
3
 
# Copyright (c) 1999-2002
4
 
#       Sleepycat Software.  All rights reserved.
5
 
#
6
 
# $Id$
7
 
#
8
 
# TEST  env006
9
 
# TEST  Make sure that all the utilities exist and run.
10
 
proc env006 { } {
11
 
        source ./include.tcl
12
 
 
13
 
        puts "Env006: Run underlying utilities."
14
 
 
15
 
        set rlist {
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"}
26
 
        }
27
 
        foreach pair $rlist {
28
 
                set cmd [lindex $pair 0]
29
 
                set msg [lindex $pair 1]
30
 
 
31
 
                puts "\t$msg: $cmd"
32
 
 
33
 
                set stat [catch {exec $util_path/$cmd -?} ret]
34
 
                error_check_good $cmd $stat 1
35
 
 
36
 
                #
37
 
                # Check for "usage", but only check "sage" so that
38
 
                # we can handle either Usage or usage.
39
 
                #
40
 
                error_check_good $cmd.err [is_substr $ret sage] 1
41
 
        }
42
 
}