Fossil

Check-in [a0d01050]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:added copyright header to test file
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | ckol-th1-dir-cmd
Files: files | file ages | folders
SHA1: a0d01050a1d415e545e712b443c328c3d18e8f25
User & Date: ckolumbus 2015-08-15 13:37:06
Context
2015-08-15
18:37
Coding style and compiler warning fixes. check-in: 4b17cb66 user: mistachkin tags: ckol-th1-dir-cmd
13:37
added copyright header to test file check-in: a0d01050 user: ckolumbus tags: ckol-th1-dir-cmd
13:22
* factored out th1 tests from th1.test that need a repository (takes longer to test) * fixed tests that had wrong result expectations * finally: implemented test for new th1-dir-cmd check-in: 484d7d8e user: ckolumbus tags: ckol-th1-dir-cmd
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/th1-repo.test.



















1
2
3
4
5
6
7
8
9
10


















############################################################################
#
# TH1-repo
#

catch {exec $::fossilexe info} res
puts res=$res
if {![regexp {use --repository} $res]} {
  puts stderr "Cannot run this test within an open checkout"
  return
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>


|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# Copyright (c) 2011 D. Richard Hipp
# Copyright (c) 2015 Ch. Drexler
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the Simplified BSD License (also
# known as the "2-Clause License" or "FreeBSD License".)
#
# This program is distributed in the hope that it will be useful,
# but without any warranty; without even the implied warranty of
# merchantability or fitness for a particular purpose.
#
# Author contact information:
#   drh@hwaci.com
#   http://www.hwaci.com/drh/
#
#   Chris Drexler <ckolumbus@ac-drexler.de>
#
############################################################################
#
# TH1-repo commands
#

catch {exec $::fossilexe info} res
puts res=$res
if {![regexp {use --repository} $res]} {
  puts stderr "Cannot run this test within an open checkout"
  return