Hook error() and error_at_line() if available.

They are used by some GNU programs to display error messages.
This commit is contained in:
Simon Ruderich
2013-06-05 23:57:05 +02:00
parent b140cc0a82
commit 7f9856c5da
7 changed files with 156 additions and 1 deletions

View File

@@ -35,9 +35,14 @@ test_script example-redirects.sh
test_program example
test_program example_exec
test_program example_vfork
test -x "$builddir/example_error" && test_program example_error
test_script_subshell example-simple.sh
test_script_subshell example-redirects.sh
test_program_subshell example
test_program_subshell example_exec
test_program_subshell example_vfork
test -x "$builddir/example_error" && test_program_subshell example_error
# Necessary in case the test -x evaluates to false.
true