diff options
author | Paul Smith <psmith@gnu.org> | 2018-08-04 12:20:11 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2018-08-04 12:37:19 -0400 |
commit | fa937343f5e0c8ea131d321118b31621413ab1d2 (patch) | |
tree | c960bee5ccdae8d0f12ea0acef91db4b9544c218 /src/load.c | |
parent | 3112c8799358cb5d051e0b63d0e916357169942c (diff) | |
download | make-git-fa937343f5e0c8ea131d321118b31621413ab1d2.tar.gz |
Clean up errors for invalid commands and add regression tests.
* src/function.c (func_shell_base): Use error() instead of recreating
the error output.
* src/job.c (exec_command): Show more standard error messages.
* src/load.c (unload_file): Fix whitespace in the error message.
* tests/scripts/features/errors: Add tests for starting non-
existent commands and new error message formats.
* tests/scripts/features/output-sync: New error message formats.
* tests/scripts/functions/shell: Ditto.
Diffstat (limited to 'src/load.c')
-rw-r--r-- | src/load.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -240,7 +240,7 @@ unload_file (const char *name) if (streq (d->name, name) && d->dlp) { if (dlclose (d->dlp)) - perror_with_name ("dlclose", d->name); + perror_with_name ("dlclose: ", d->name); d->dlp = NULL; break; } |