]> git.draconx.ca Git - dxcommon.git/commit
test-tap.at: Fix regression passing program arguments.
authorNick Bowler <nbowler@draconx.ca>
Sat, 6 Jan 2024 07:34:10 +0000 (02:34 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 6 Jan 2024 07:34:10 +0000 (02:34 -0500)
commit2fa6f6881b22fe1aabb2d25ed6040fd8e8ddb3b5
tree9ab37ce5e12f93bd6f38cc36318dcdbc5a37f1f2
parentb045c0c5e35a1558e6b77d99e0ed8ab86d6dc550
test-tap.at: Fix regression passing program arguments.

Moving the test_run_tap() function definition into a macro failed to
properly quote $@ so it isn't eaten by m4.  So instead of calling
the test program with "$@" as the argument, it is changed to "".

Fix that up, and add a very simple test case to check this behaviour.
snippet/test-tap.at
t/tapcheck.sh [new file with mode: 0755]
tests/snippets.at