Add a check for the exit code of the "dpkg-deb" command that builds the output 
DEB package. Add a regression test.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - Add LinuxDebPackagerTest with the regression test for missing check for the 
exit code

Changes: https://git.openjdk.org/jdk/pull/32607/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32607&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8391473
  Stats: 205 lines in 3 files changed: 200 ins; 4 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/32607.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32607/head:pull/32607

PR: https://git.openjdk.org/jdk/pull/32607

Reply via email to