Skip to content

Commit

Permalink
8316563: test tools/jpackage/linux/LinuxResourceTest.java fails on RH…
Browse files Browse the repository at this point in the history
…EL8 and Fedora 27
  • Loading branch information
yaqsun committed Oct 17, 2023
1 parent a2f982d commit 7d77435
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,7 @@ private Path buildRPM(Map<String, ? super Object> params,
// do not use other system directories to build as current user
"--define", String.format("%%_topdir %s",
TEMP_ROOT.fetchFrom(params).toAbsolutePath()),
"--define", String.format("%%_rpmfilename %s", rpmFile.getFileName()),
"--define", "_build_id_links none"
"--define", String.format("%%_rpmfilename %s", rpmFile.getFileName())
).executeExpectSuccess();

Log.verbose(MessageFormat.format(
Expand Down
1 change: 1 addition & 0 deletions test/jdk/tools/jpackage/linux/LinuxResourceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public static void testHardcodedProperties() throws IOException {
"License: APPLICATION_LICENSE_TYPE",
"Prefix: %{dirname:APPLICATION_DIRECTORY}",
"Provides: dont-install-me",
"%define _build_id_links none",
"%description",
"APPLICATION_DESCRIPTION",
"%prep",
Expand Down

0 comments on commit 7d77435

Please sign in to comment.