[Markdown] Tools for working with agents.
1
#!
2
# Run the STE linter test suite in a batch Emacs.
3
#
4
# Required dependency: emacs, with Org mode. Org mode ships with Emacs.
5
# The suite runs the ERT tests, then runs the batch command on two
6
# temporary files to check its exit status.
7
#
8
# Exit status: 0 when every test passes, 1 otherwise.
9
10
set-eu
11
12
dir=$(CDPATH=cd--$(dirname--$0""
13
14
15
""
16
17
18
19
20
"$dir$file"
21
"$dir$file"
22
23
24
25
26
"$dir"\
27
"$dir"\
28
29
""
30
31
32
33
$(mktemp-d${TMPDIR:-/tmp}"
34
"$tmp""$tmp""$tmp"
35
"$tmp"
36
"$tmp"
37
38
39
"$dir""$1"
40
41
42
"$tmp"
43
""
44
45
46
"$tmp"
47
""
48
49
50
51
""
52