unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
blob 3a296190279b4312763991233ee011419cfc6b7f 649 bytes (raw)
name: tests/cl-syntax 	 # note: path name is non-authoritative(*)

 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
29
30
31
32
33
34
 
#!/bin/sh
# Ensure that we accept relatively new ChangeLog syntax.

. "${srcdir=.}/init.sh"; path_prepend_ ..
print_ver_ vc-dwim

require_git_

cat <<EOF > ChangeLog || framework_failure_
2011-05-31  R. Andom  <random@example.com>

	* not-checked.c: Irrelevant.

EOF
git init > /dev/null || framework_failure_
touch foo || framework_failure_
git add . || framework_failure_
git commit -m m . > /dev/null || framework_failure_

cat <<EOF > ChangeLog
2011-05-31  R. Andom  <random@example.com>

	* foo (bar)
        (qux): Comment.
	* not-checked.c: Irrelevant.

EOF

fail=0

echo a > foo || framework_failure_
vc-dwim ChangeLog || fail=1

Exit $fail

debug log:

solving 3a29619 ...
found 3a29619 in https://yhetil.org/emacs-bugs/87vcwqeebc.fsf@rho.meyering.net/

applying [1/1] https://yhetil.org/emacs-bugs/87vcwqeebc.fsf@rho.meyering.net/
diff --git a/tests/cl-syntax b/tests/cl-syntax
new file mode 100755
index 0000000..3a29619

Checking patch tests/cl-syntax...
Applied patch tests/cl-syntax cleanly.

index at:
100755 3a296190279b4312763991233ee011419cfc6b7f	tests/cl-syntax

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).