gnulib-tool: Remove test-driver.{orig,rej} if patching succeeded.
commitd384d69e136163af075dbe277865e7202b20390d
authorBruno Haible <bruno@clisp.org>
Fri, 22 Mar 2024 15:10:29 +0000 (22 16:10 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 22 Mar 2024 15:10:29 +0000 (22 16:10 +0100)
treee52a9e96fbee9dd9a347b9ca4cdb0996c7c6eabc
parentb1226a18af2e572ac883a743108ac0b168789c71
gnulib-tool: Remove test-driver.{orig,rej} if patching succeeded.

* gnulib-tool.sh (func_create_testdir, func_create_megatestdir): After
a 'patch' command failed, remove the leftover files test-driver.orig and
test-driver.rej.
* pygnulib/GLTestDir.py (_patch_test_driver): Likewise.
ChangeLog
gnulib-tool.sh
pygnulib/GLTestDir.py