diff options
author | Kaz Kyheku <kaz@kylheku.com> | 2020-02-07 21:07:54 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-02-07 21:07:54 -0800 |
commit | 92d77f69a4224c50ced57b32844c0f464b137e92 (patch) | |
tree | 679a02226d6874b3bcdef18c46f5b924d3572bca /Makefile | |
parent | 6d6bb0cae29be50cb3e69d85df6cc0b6fee1ab9d (diff) | |
download | txr-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-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)) |