Fossil SCM

Add missing copyright headers to 26 .test files

danshearer 2026-11-27 22:45 UTC test-suite-new
Commit c7137e0f928ffdec4ec265350146b379be027383a05dd71964d8c10867722896
--- test/blob.test
+++ test/blob.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# The buffer type that all of Fossil's text handling is built on:
315
# src/blob.c. The test commands that run its routines directly
416
# (test-isspace, test-atoi, test-strip-comment-lines, test-compress,
517
# test-compress-2, test-uncompress, test-cycle-compress, test-escaped-arg),
618
# reading and writing files, and the routines that are reached only
719
--- test/blob.test
+++ test/blob.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # The buffer type that all of Fossil's text handling is built on:
3 # src/blob.c. The test commands that run its routines directly
4 # (test-isspace, test-atoi, test-strip-comment-lines, test-compress,
5 # test-compress-2, test-uncompress, test-cycle-compress, test-escaped-arg),
6 # reading and writing files, and the routines that are reached only
7
--- test/blob.test
+++ test/blob.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # The buffer type that all of Fossil's text handling is built on:
15 # src/blob.c. The test commands that run its routines directly
16 # (test-isspace, test-atoi, test-strip-comment-lines, test-compress,
17 # test-compress-2, test-uncompress, test-cycle-compress, test-escaped-arg),
18 # reading and writing files, and the routines that are reached only
19
--- test/cgi.test
+++ test/cgi.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# How a server reads a request: src/cgi.c. Requests are written to a
315
# file and given to "fossil http --in", which handles one request as a
416
# server does and writes the reply to a file. The page /test-env shows
517
# the parameters the server read from the request.
618
#
719
--- test/cgi.test
+++ test/cgi.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # How a server reads a request: src/cgi.c. Requests are written to a
3 # file and given to "fossil http --in", which handles one request as a
4 # server does and writes the reply to a file. The page /test-env shows
5 # the parameters the server read from the request.
6 #
7
--- test/cgi.test
+++ test/cgi.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # How a server reads a request: src/cgi.c. Requests are written to a
15 # file and given to "fossil http --in", which handles one request as a
16 # server does and writes the reply to a file. The page /test-env shows
17 # the parameters the server read from the request.
18 #
19
--- test/config.test
+++ test/config.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Tests of "fossil configuration": the methods export, import, merge and
315
# reset on every configuration area, the files they write and read, the
416
# files they refuse, and the configuration that push, pull and sync carry
517
# between repositories, with and without the capabilities the other side
618
# asks for. After each command the configuration of the area must be what
719
--- test/config.test
+++ test/config.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Tests of "fossil configuration": the methods export, import, merge and
3 # reset on every configuration area, the files they write and read, the
4 # files they refuse, and the configuration that push, pull and sync carry
5 # between repositories, with and without the capabilities the other side
6 # asks for. After each command the configuration of the area must be what
7
--- test/config.test
+++ test/config.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Tests of "fossil configuration": the methods export, import, merge and
15 # reset on every configuration area, the files they write and read, the
16 # files they refuse, and the configuration that push, pull and sync carry
17 # between repositories, with and without the capabilities the other side
18 # asks for. After each command the configuration of the area must be what
19
--- test/content.test
+++ test/content.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# The content store: src/content.c. Reading an artifact through a long
315
# chain of deltas, turning stored content into a delta and back, content
416
# that arrives after it was asked for, and the commands that look for
517
# damage: test-integrity, test-missing, test-orphans.
618
#
719
--- test/content.test
+++ test/content.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # The content store: src/content.c. Reading an artifact through a long
3 # chain of deltas, turning stored content into a delta and back, content
4 # that arrives after it was asked for, and the commands that look for
5 # damage: test-integrity, test-missing, test-orphans.
6 #
7
--- test/content.test
+++ test/content.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # The content store: src/content.c. Reading an artifact through a long
15 # chain of deltas, turning stored content into a delta and back, content
16 # that arrives after it was asked for, and the commands that look for
17 # damage: test-integrity, test-missing, test-orphans.
18 #
19
--- test/crosslink.test
+++ test/crosslink.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# What the repository database shows after an artifact of each kind has
315
# been stored and crosslinked: manifest_crosslink() and the routines
416
# around it in src/manifest.c.
517
#
618
# Each artifact is written out here card by card, given its Z card, and
719
--- test/crosslink.test
+++ test/crosslink.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # What the repository database shows after an artifact of each kind has
3 # been stored and crosslinked: manifest_crosslink() and the routines
4 # around it in src/manifest.c.
5 #
6 # Each artifact is written out here card by card, given its Z card, and
7
--- test/crosslink.test
+++ test/crosslink.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # What the repository database shows after an artifact of each kind has
15 # been stored and crosslinked: manifest_crosslink() and the routines
16 # around it in src/manifest.c.
17 #
18 # Each artifact is written out here card by card, given its Z card, and
19
--- test/fuzz.test
+++ test/fuzz.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Run every input in corpus/corpus.pack, and the sample wiki and markdown pages
315
# in this directory, through "fossil test-fuzz". The pack is unpacked
416
# into a directory for each fuzz type. See corpus.tcl.
517
#
618
# The scenario inputs are not inputs to "test-fuzz". They are read by
719
--- test/fuzz.test
+++ test/fuzz.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Run every input in corpus/corpus.pack, and the sample wiki and markdown pages
3 # in this directory, through "fossil test-fuzz". The pack is unpacked
4 # into a directory for each fuzz type. See corpus.tcl.
5 #
6 # The scenario inputs are not inputs to "test-fuzz". They are read by
7
--- test/fuzz.test
+++ test/fuzz.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Run every input in corpus/corpus.pack, and the sample wiki and markdown pages
15 # in this directory, through "fossil test-fuzz". The pack is unpacked
16 # into a directory for each fuzz type. See corpus.tcl.
17 #
18 # The scenario inputs are not inputs to "test-fuzz". They are read by
19
--- test/git-export.test
+++ test/git-export.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Shearer
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# "fossil git export" of a check-in that holds a shunned file. The
315
# file is to be exported as an empty file. An earlier fossil left the
416
# check-in out of the export and exited with status 0.
517
#
618
719
--- test/git-export.test
+++ test/git-export.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # "fossil git export" of a check-in that holds a shunned file. The
3 # file is to be exported as an empty file. An earlier fossil left the
4 # check-in out of the export and exited with status 0.
5 #
6
7
--- test/git-export.test
+++ test/git-export.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Shearer
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # "fossil git export" of a check-in that holds a shunned file. The
15 # file is to be exported as an empty file. An earlier fossil left the
16 # check-in out of the export and exited with status 0.
17 #
18
19
--- test/http.test
+++ test/http.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Shearer
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Tests of fossil's HTTP and HTTPS client. A clone must work when the
315
# reply is framed in any way HTTP/1.1 allows. It must fail with a
416
# message, and leave no repository, when the reply is malformed or the
517
# connection is closed or reset. Other tests check the request line
618
# fossil sends and which certificates it trusts.
719
--- test/http.test
+++ test/http.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Tests of fossil's HTTP and HTTPS client. A clone must work when the
3 # reply is framed in any way HTTP/1.1 allows. It must fail with a
4 # message, and leave no repository, when the reply is malformed or the
5 # connection is closed or reset. Other tests check the request line
6 # fossil sends and which certificates it trusts.
7
--- test/http.test
+++ test/http.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Shearer
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Tests of fossil's HTTP and HTTPS client. A clone must work when the
15 # reply is framed in any way HTTP/1.1 allows. It must fail with a
16 # message, and leave no repository, when the reply is malformed or the
17 # connection is closed or reset. Other tests check the request line
18 # fossil sends and which certificates it trusts.
19
--- test/import.test
+++ test/import.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# "fossil import --svn" and "fossil import --git". The dumps and the
315
# streams are written here, byte by byte: first dumps whose file contents
416
# are svndiff0 deltas (Text-delta: true), as "svnadmin dump --deltas"
517
# writes them, then git streams, then dumps of whole histories. Where
618
# Subversion or git is installed, a history that it wrote is imported too.
719
--- test/import.test
+++ test/import.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # "fossil import --svn" and "fossil import --git". The dumps and the
3 # streams are written here, byte by byte: first dumps whose file contents
4 # are svndiff0 deltas (Text-delta: true), as "svnadmin dump --deltas"
5 # writes them, then git streams, then dumps of whole histories. Where
6 # Subversion or git is installed, a history that it wrote is imported too.
7
--- test/import.test
+++ test/import.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # "fossil import --svn" and "fossil import --git". The dumps and the
15 # streams are written here, byte by byte: first dumps whose file contents
16 # are svndiff0 deltas (Text-delta: true), as "svnadmin dump --deltas"
17 # writes them, then git streams, then dumps of whole histories. Where
18 # Subversion or git is installed, a history that it wrote is imported too.
19
--- test/integrity.test
+++ test/integrity.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Shearer
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Integrity of a repository. Two kinds of test:
315
#
416
# * A "fossil rebuild", and a "fossil deconstruct" and "fossil
517
# reconstruct" round trip, keep every artifact; "fossil
618
# test-integrity" reports an artifact whose content is damaged.
719
--- test/integrity.test
+++ test/integrity.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Integrity of a repository. Two kinds of test:
3 #
4 # * A "fossil rebuild", and a "fossil deconstruct" and "fossil
5 # reconstruct" round trip, keep every artifact; "fossil
6 # test-integrity" reports an artifact whose content is damaged.
7
--- test/integrity.test
+++ test/integrity.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Shearer
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Integrity of a repository. Two kinds of test:
15 #
16 # * A "fossil rebuild", and a "fossil deconstruct" and "fossil
17 # reconstruct" round trip, keep every artifact; "fossil
18 # test-integrity" reports an artifact whose content is damaged.
19
--- test/login.test
+++ test/login.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Authentication: how the server in src/login.c reads a request and decides
315
# who the user is. Requests are written to a file and handed to "fossil http
416
# REPO --in", which serves one request and writes the reply to a file, the way
517
# test/cgi.test does. The /test-env page reports g.zLogin, g.isRobot and the
618
# capabilities the server granted. Several command-line test entry points in
719
--- test/login.test
+++ test/login.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Authentication: how the server in src/login.c reads a request and decides
3 # who the user is. Requests are written to a file and handed to "fossil http
4 # REPO --in", which serves one request and writes the reply to a file, the way
5 # test/cgi.test does. The /test-env page reports g.zLogin, g.isRobot and the
6 # capabilities the server granted. Several command-line test entry points in
7
--- test/login.test
+++ test/login.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Authentication: how the server in src/login.c reads a request and decides
15 # who the user is. Requests are written to a file and handed to "fossil http
16 # REPO --in", which serves one request and writes the reply to a file, the way
17 # test/cgi.test does. The /test-env page reports g.zLogin, g.isRobot and the
18 # capabilities the server granted. Several command-line test entry points in
19
--- test/manifest.test
+++ test/manifest.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Reading check-ins and their files in src/manifest.c: two check-ins
315
# compared with "fossil diff --from --to", the /dir and /tree pages,
416
# delta manifests read through their baseline, a file named in another
517
# letter case, and artifact_to_json() for every kind of artifact.
618
#
719
--- test/manifest.test
+++ test/manifest.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Reading check-ins and their files in src/manifest.c: two check-ins
3 # compared with "fossil diff --from --to", the /dir and /tree pages,
4 # delta manifests read through their baseline, a file named in another
5 # letter case, and artifact_to_json() for every kind of artifact.
6 #
7
--- test/manifest.test
+++ test/manifest.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Reading check-ins and their files in src/manifest.c: two check-ins
15 # compared with "fossil diff --from --to", the /dir and /tree pages,
16 # delta manifests read through their baseline, a file named in another
17 # letter case, and artifact_to_json() for every kind of artifact.
18 #
19
--- test/merge_renames.test
+++ test/merge_renames.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2011 viriketo
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Tests for merging with renames
315
#
416
#
517
618
proc commit_id {version} {
719
--- test/merge_renames.test
+++ test/merge_renames.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Tests for merging with renames
3 #
4 #
5
6 proc commit_id {version} {
7
--- test/merge_renames.test
+++ test/merge_renames.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2011 viriketo
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Tests for merging with renames
15 #
16 #
17
18 proc commit_id {version} {
19
--- test/merge_renames_2.test
+++ test/merge_renames_2.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2021 D. Richard Hipp
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Tests for merging with renames
315
#
416
#
517
618
require_no_open_checkout
719
--- test/merge_renames_2.test
+++ test/merge_renames_2.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Tests for merging with renames
3 #
4 #
5
6 require_no_open_checkout
7
--- test/merge_renames_2.test
+++ test/merge_renames_2.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2021 D. Richard Hipp
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Tests for merging with renames
15 #
16 #
17
18 require_no_open_checkout
19
--- test/name.test
+++ test/name.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# How a name typed by a user or taken from a URL becomes an artifact:
315
# src/name.c. One small repository holds check-ins on two branches with
416
# a merge between them, tags, a wiki page, a ticket, a technote, a forum
517
# post, an attachment, a cluster, phantoms and pairs of artifacts whose
618
# hashes begin alike. Every kind of name is then given to
719
--- test/name.test
+++ test/name.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # How a name typed by a user or taken from a URL becomes an artifact:
3 # src/name.c. One small repository holds check-ins on two branches with
4 # a merge between them, tags, a wiki page, a ticket, a technote, a forum
5 # post, an attachment, a cluster, phantoms and pairs of artifacts whose
6 # hashes begin alike. Every kind of name is then given to
7
--- test/name.test
+++ test/name.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # How a name typed by a user or taken from a URL becomes an artifact:
15 # src/name.c. One small repository holds check-ins on two branches with
16 # a merge between them, tags, a wiki page, a ticket, a technote, a forum
17 # post, an attachment, a cluster, phantoms and pairs of artifacts whose
18 # hashes begin alike. Every kind of name is then given to
19
--- test/powerloss.test
+++ test/powerloss.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Shearer
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Tests that a fossil command interrupted by a power loss or a killed
315
# process leaves repositories and check-outs that fossil can use, and
416
# does not lose the user's work.
517
#
618
# tools/powerloss/powerloss.c is a library that fossil loads with
719
--- test/powerloss.test
+++ test/powerloss.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Tests that a fossil command interrupted by a power loss or a killed
3 # process leaves repositories and check-outs that fossil can use, and
4 # does not lose the user's work.
5 #
6 # tools/powerloss/powerloss.c is a library that fossil loads with
7
--- test/powerloss.test
+++ test/powerloss.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Shearer
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Tests that a fossil command interrupted by a power loss or a killed
15 # process leaves repositories and check-outs that fossil can use, and
16 # does not lose the user's work.
17 #
18 # tools/powerloss/powerloss.c is a library that fossil loads with
19
--- test/purge.test
+++ test/purge.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Commands that remove content from a repository: "fossil purge", with
315
# its graveyard, undo and obliterate, and "fossil scrub". After each the
416
# repository must still be sound, and an undo must give back exactly what
517
# was removed.
618
#
719
--- test/purge.test
+++ test/purge.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Commands that remove content from a repository: "fossil purge", with
3 # its graveyard, undo and obliterate, and "fossil scrub". After each the
4 # repository must still be sound, and an undo must give back exactly what
5 # was removed.
6 #
7
--- test/purge.test
+++ test/purge.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Commands that remove content from a repository: "fossil purge", with
15 # its graveyard, undo and obliterate, and "fossil scrub". After each the
16 # repository must still be sound, and an undo must give back exactly what
17 # was removed.
18 #
19
--- test/rebuild.test
+++ test/rebuild.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# "fossil rebuild" with each of its options, "fossil repack", "fossil
315
# deconstruct" and "fossil reconstruct", "fossil detach", the prompt of
416
# "fossil scrub", and the cluster test commands. None of them may change
517
# what a repository holds: after each, the artifacts, the timeline and the
618
# links between check-ins and files are compared with what was there
719
--- test/rebuild.test
+++ test/rebuild.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # "fossil rebuild" with each of its options, "fossil repack", "fossil
3 # deconstruct" and "fossil reconstruct", "fossil detach", the prompt of
4 # "fossil scrub", and the cluster test commands. None of them may change
5 # what a repository holds: after each, the artifacts, the timeline and the
6 # links between check-ins and files are compared with what was there
7
--- test/rebuild.test
+++ test/rebuild.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # "fossil rebuild" with each of its options, "fossil repack", "fossil
15 # deconstruct" and "fossil reconstruct", "fossil detach", the prompt of
16 # "fossil scrub", and the cluster test commands. None of them may change
17 # what a repository holds: after each, the artifacts, the timeline and the
18 # links between check-ins and files are compared with what was there
19
--- test/regress.test
+++ test/regress.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Tests of single faults that have no better home.
315
#
416
517
require_no_open_checkout
618
719
--- test/regress.test
+++ test/regress.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Tests of single faults that have no better home.
3 #
4
5 require_no_open_checkout
6
7
--- test/regress.test
+++ test/regress.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Tests of single faults that have no better home.
15 #
16
17 require_no_open_checkout
18
19
--- test/scenario.test
+++ test/scenario.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Random integration tests of sync. Each scenario input in corpus/corpus.pack
315
# is a list of operations to perform on three clones of a new repository:
416
# commits, branches, merges, syncs and so on. A sync can be made to lose
517
# its request, lose its reply, or deliver half a reply.
618
#
719
--- test/scenario.test
+++ test/scenario.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Random integration tests of sync. Each scenario input in corpus/corpus.pack
3 # is a list of operations to perform on three clones of a new repository:
4 # commits, branches, merges, syncs and so on. A sync can be made to lose
5 # its request, lose its reply, or deliver half a reply.
6 #
7
--- test/scenario.test
+++ test/scenario.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Random integration tests of sync. Each scenario input in corpus/corpus.pack
15 # is a list of operations to perform on three clones of a new repository:
16 # commits, branches, merges, syncs and so on. A sync can be made to lose
17 # its request, lose its reply, or deliver half a reply.
18 #
19
--- test/ssh.test
+++ test/ssh.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# What fossil puts on an ssh command line. Nothing here connects to
315
# another machine: "ssh" is a copy of standin/log-args.sh, which writes
416
# down its arguments and exits. A command that has the --ssh-command
517
# option is given the script with it. The other commands find the
618
# script first on the PATH.
719
--- test/ssh.test
+++ test/ssh.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # What fossil puts on an ssh command line. Nothing here connects to
3 # another machine: "ssh" is a copy of standin/log-args.sh, which writes
4 # down its arguments and exits. A command that has the --ssh-command
5 # option is given the script with it. The other commands find the
6 # script first on the PATH.
7
--- test/ssh.test
+++ test/ssh.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # What fossil puts on an ssh command line. Nothing here connects to
15 # another machine: "ssh" is a copy of standin/log-args.sh, which writes
16 # down its arguments and exits. A command that has the --ssh-command
17 # option is given the script with it. The other commands find the
18 # script first on the PATH.
19
--- test/sync.test
+++ test/sync.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Shearer
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Tests of clone, push, pull and sync, over file: URLs and over HTTP to
315
# "fossil server". After each operation, the repositories must hold the
416
# same artifacts, except for private ones, and pass "fossil
517
# test-integrity".
618
#
719
--- test/sync.test
+++ test/sync.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Tests of clone, push, pull and sync, over file: URLs and over HTTP to
3 # "fossil server". After each operation, the repositories must hold the
4 # same artifacts, except for private ones, and pass "fossil
5 # test-integrity".
6 #
7
--- test/sync.test
+++ test/sync.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Shearer
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Tests of clone, push, pull and sync, over file: URLs and over HTTP to
15 # "fossil server". After each operation, the repositories must hold the
16 # same artifacts, except for private ones, and pass "fossil
17 # test-integrity".
18 #
19
--- test/th1main.test
+++ test/th1main.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Fossil's own TH1 commands and the template renderer: src/th_main.c.
315
# Scripts are run with "fossil test-th-eval", templates with
416
# "fossil test-th-render" and "fossil test-th-source", and a ticket page
517
# that holds TH1 is asked for through "fossil http --in".
618
#
719
--- test/th1main.test
+++ test/th1main.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Fossil's own TH1 commands and the template renderer: src/th_main.c.
3 # Scripts are run with "fossil test-th-eval", templates with
4 # "fossil test-th-render" and "fossil test-th-source", and a ticket page
5 # that holds TH1 is asked for through "fossil http --in".
6 #
7
--- test/th1main.test
+++ test/th1main.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Fossil's own TH1 commands and the template renderer: src/th_main.c.
15 # Scripts are run with "fossil test-th-eval", templates with
16 # "fossil test-th-render" and "fossil test-th-source", and a ticket page
17 # that holds TH1 is asked for through "fossil http --in".
18 #
19
--- test/url.test
+++ test/url.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# URLs of remote repositories, and the HTTP exchange of the sync client.
315
#
416
# The first part gives URLs to "fossil test-urlparser" and
517
# "fossil test-url-basename" and checks each part of the result, and
618
# checks how a saved remote, the parent project and a proxy are read.
719
--- test/url.test
+++ test/url.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # URLs of remote repositories, and the HTTP exchange of the sync client.
3 #
4 # The first part gives URLs to "fossil test-urlparser" and
5 # "fossil test-url-basename" and checks each part of the result, and
6 # checks how a saved remote, the parent project and a proxy are read.
7
--- test/url.test
+++ test/url.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # URLs of remote repositories, and the HTTP exchange of the sync client.
15 #
16 # The first part gives URLs to "fossil test-urlparser" and
17 # "fossil test-url-basename" and checks each part of the result, and
18 # checks how a saved remote, the parent project and a proxy are read.
19
--- test/xfer-client.test
+++ test/xfer-client.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Replies that a server would not normally give, sent to the client side
315
# of the sync protocol. The client must handle each as documented and
416
# must not crash. There is no server: "fossil pull" and "fossil push"
517
# get standin/transport.sh as their --transport-command. It saves each
618
# request and answers with a reply that the test wrote, or with a bare
719
--- test/xfer-client.test
+++ test/xfer-client.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Replies that a server would not normally give, sent to the client side
3 # of the sync protocol. The client must handle each as documented and
4 # must not crash. There is no server: "fossil pull" and "fossil push"
5 # get standin/transport.sh as their --transport-command. It saves each
6 # request and answers with a reply that the test wrote, or with a bare
7
--- test/xfer-client.test
+++ test/xfer-client.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Replies that a server would not normally give, sent to the client side
15 # of the sync protocol. The client must handle each as documented and
16 # must not crash. There is no server: "fossil pull" and "fossil push"
17 # get standin/transport.sh as their --transport-command. It saves each
18 # request and answers with a reply that the test wrote, or with a bare
19
--- test/xfer-server.test
+++ test/xfer-server.test
@@ -1,6 +1,18 @@
11
#
2
+# Copyright (c) 2026 Dan Mestas
3
+#
4
+# This program is free software; you can redistribute it and/or
5
+# modify it under the terms of the Simplified BSD License (also
6
+# known as the "2-Clause License" or "FreeBSD License".)
7
+#
8
+# This program is distributed in the hope that it will be useful,
9
+# but without any warranty; without even the implied warranty of
10
+# merchantability or fitness for a particular purpose.
11
+#
12
+############################################################################
13
+#
214
# Each kind of card and pragma of the sync protocol, sent to the server
315
# side through "fossil test-xfer", with and without valid card
416
# permissions. The server must give the documented answer and must not
517
# crash. The cards with content are in the sections at the end.
618
#
719
--- test/xfer-server.test
+++ test/xfer-server.test
@@ -1,6 +1,18 @@
1 #
 
 
 
 
 
 
 
 
 
 
 
 
2 # Each kind of card and pragma of the sync protocol, sent to the server
3 # side through "fossil test-xfer", with and without valid card
4 # permissions. The server must give the documented answer and must not
5 # crash. The cards with content are in the sections at the end.
6 #
7
--- test/xfer-server.test
+++ test/xfer-server.test
@@ -1,6 +1,18 @@
1 #
2 # Copyright (c) 2026 Dan Mestas
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the Simplified BSD License (also
6 # known as the "2-Clause License" or "FreeBSD License".)
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but without any warranty; without even the implied warranty of
10 # merchantability or fitness for a particular purpose.
11 #
12 ############################################################################
13 #
14 # Each kind of card and pragma of the sync protocol, sent to the server
15 # side through "fossil test-xfer", with and without valid card
16 # permissions. The server must give the documented answer and must not
17 # crash. The cards with content are in the sections at the end.
18 #
19

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button