diff options
Diffstat (limited to 'test/java/install_gradle_and_maven.sh')
-rw-r--r-- | test/java/install_gradle_and_maven.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/java/install_gradle_and_maven.sh b/test/java/install_gradle_and_maven.sh index c6aa3e5..636fd92 100644 --- a/test/java/install_gradle_and_maven.sh +++ b/test/java/install_gradle_and_maven.sh @@ -5,17 +5,17 @@ set -e # Optional: Import test library source dev-container-features-test-lib -check "user is root" whoami | grep root +check "user is root" grep root <(whoami) check "java" java --version check "gradle" gradle --version cd /tmp && gradle init --type basic --dsl groovy --incubating --project-name test -check "GRADLE_USER_HOME exists" ls -la /root | grep ".gradle" +check "GRADLE_USER_HOME exists" grep ".gradle" <(ls -la /root) check "maven" mvn --version cd /tmp && mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 -DinteractiveMode=false -check "m2 exists" ls -la /root | grep ".m2" +check "m2 exists" grep ".m2" <(ls -la /root) # Report result reportResults |