From 92d77f69a4224c50ced57b32844c0f464b137e92 Mon Sep 17 00:00:00 2001 From: Kaz Kyheku Date: Fri, 7 Feb 2020 21:07:54 -0800 Subject: 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. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') 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)) -- cgit v1.2.3