diff options
author | Guillem Jover <guillem@debian.org> | 2015-02-17 01:19:08 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2015-03-31 07:08:34 +0200 |
commit | 453132199086db399401668a2c572b32c9f71717 (patch) | |
tree | eef3934001e6006d6469b78fa34962d1d45565a5 /src/t | |
parent | c6d00a09743e4fa4d531a341f0113c43a2669972 (diff) | |
download | dpkg-453132199086db399401668a2c572b32c9f71717.tar.gz |
Expand EOF and eof into "end of file" in error messages
Diffstat (limited to 'src/t')
-rw-r--r-- | src/t/dpkg_divert.t | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/t/dpkg_divert.t b/src/t/dpkg_divert.t index 93265b3bc..b83576680 100644 --- a/src/t/dpkg_divert.t +++ b/src/t/dpkg_divert.t @@ -564,7 +564,8 @@ install_diversions(<<'EOF'); EOF call_divert_sort(['--list'], expect_failure => 1, - expect_stderr_like => qr/(corrupt|unexpected eof)/, expect_stdout => ''); + expect_stderr_like => qr/(corrupt|unexpected end of file)/, + expect_stdout => ''); install_diversions(<<'EOF'); /bin/sh @@ -572,7 +573,8 @@ bash EOF call_divert_sort(['--list'], expect_failure => 1, - expect_stderr_like => qr/(corrupt|unexpected eof)/, expect_stdout => ''); + expect_stderr_like => qr/(corrupt|unexpected end of file)/, + expect_stdout => ''); cleanup(); |