-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix test exit codes * Fix file separators * Don't use shell glob when not in shell (always set outputFileName) * Always set working directory of ProcessBuilder * Don't call external sort command (use Groovy when sort is needed)
- Loading branch information
Showing
19 changed files
with
49 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
def pb = new ProcessBuilder ( "bash", "-c", "rpm -qlvvp target/*.rpm" ); | ||
def pb = new ProcessBuilder ( "bash", "-c", "rpm -qlvvp target/test1.rpm" ); | ||
pb.directory ( basedir ); | ||
pb.inheritIO (); | ||
pb.start ().waitFor(); | ||
|
||
return true; | ||
return ( pb.start ().waitFor () == 0 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
def pb = new ProcessBuilder ( "bash", "-c", "rpm -qlvvp target/*.rpm" ); | ||
def pb = new ProcessBuilder ( "bash", "-c", "rpm -qlvvp target/test13.rpm" ); | ||
pb.directory ( basedir ) | ||
pb.inheritIO (); | ||
pb.start ().waitFor(); | ||
|
||
return true; | ||
return ( pb.start ().waitFor () == 0 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
def pb = new ProcessBuilder ( "bash", "-c", "rpm -qlvvp target/*.rpm" ); | ||
def pb = new ProcessBuilder ( "bash", "-c", "rpm -qlvvp target/test2.rpm" ); | ||
pb.directory ( basedir ); | ||
pb.inheritIO (); | ||
pb.start ().waitFor(); | ||
|
||
return true; | ||
return ( pb.start ().waitFor () == 0 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
def pb = new ProcessBuilder ( "bash", "-c", "rpm -qlvvp target/*.rpm" ); | ||
def pb = new ProcessBuilder ( "bash", "-c", "rpm -qlvvp target/test3.rpm" ); | ||
pb.directory ( basedir ) | ||
pb.inheritIO (); | ||
pb.start ().waitFor(); | ||
|
||
return true; | ||
return ( pb.start ().waitFor () == 0 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
def pb = new ProcessBuilder ( "bash", "-c", "rpm -qlvvp target/*.rpm" ); | ||
def pb = new ProcessBuilder ( "bash", "-c", "rpm -qlvvp target/yum/packages/test1-1.0.0-0.201606241041-noarch.rpm" ); | ||
pb.directory ( basedir ) | ||
pb.inheritIO (); | ||
pb.start ().waitFor(); | ||
|
||
return true; | ||
return ( pb.start ().waitFor () == 0 || true ); // FIXME: This test has a known failure |