summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kyheku <kaz@kylheku.com>2020-02-07 21:07:54 -0800
committerKaz Kylheku <kaz@kylheku.com>2020-02-07 21:07:54 -0800
commit92d77f69a4224c50ced57b32844c0f464b137e92 (patch)
tree679a02226d6874b3bcdef18c46f5b924d3572bca /Makefile
parent6d6bb0cae29be50cb3e69d85df6cc0b6fee1ab9d (diff)
downloadtxr-92d77f69a4224c50ced57b32844c0f464b137e92.tar.gz
txr-92d77f69a4224c50ced57b32844c0f464b137e92.tar.bz2
txr-92d77f69a4224c50ced57b32844c0f464b137e92.zip
New tests for chmod.
The chmod fixes in the previous several commits were caught by this. * Makefile (tst/tests/018/chmod.ok): Set up TXR_ARGS for this test to give it the location of the temporary file to use as the object for testing permissions. (tst/tests/018): Disable TXR_DBG_OPTS for new directory. * tests/018/chmod.tl: New file. * tests/018/chmod.expected: Likewise. * tests/perm.tl: Likewise.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index eef7f722..7ff11c4d 100644
--- a/Makefile
+++ b/Makefile
@@ -397,6 +397,7 @@ tst/tests/010/align-columns.ok: TXR_ARGS := tests/010/align-columns.dat
tst/tests/010/block.ok: TXR_OPTS := -B
tst/tests/010/reghash.ok: TXR_OPTS := -B
tst/tests/013/maze.ok: TXR_ARGS := 20 20
+tst/tests/018/chmod.ok: TXR_ARGS := tst/tests/018/tempfile
tst/tests/002/%: TXR_SCRIPT_ON_CMDLINE := y
@@ -407,6 +408,7 @@ tst/tests/014/%: TXR_DBG_OPTS :=
tst/tests/015/%: TXR_DBG_OPTS :=
tst/tests/016/%: TXR_DBG_OPTS :=
tst/tests/017/%: TXR_DBG_OPTS :=
+tst/tests/018/%: TXR_DBG_OPTS :=
TST_EXPECTED = $(word 2,$^)
TST_OUT = $(patsubst %.expected,tst/%.out,$(TST_EXPECTED))