Permalink
Browse files

Adds tests for openjdk-7 and oracle-7

  • Loading branch information...
carmstrong committed Jan 16, 2014
1 parent 64138da commit 9c38af241f68b3198cde4ad6fe2b4cb752062009
@@ -0,0 +1,9 @@
@test "installs the correct version of the jdk" {
java -version 2>&1 | grep 1.7
}
@test "properly sets JAVA_HOME environment variable" {
source /etc/profile.d/jdk.sh
run test -d $JAVA_HOME
[ "$status" -eq 0 ]
}
@@ -0,0 +1,9 @@
@test "installs the correct version of the jdk" {
java -version 2>&1 | grep 1.7
}
@test "properly sets JAVA_HOME environment variable" {
source /etc/profile.d/jdk.sh
run test -d $JAVA_HOME
[ "$status" -eq 0 ]
}

0 comments on commit 9c38af2

Please sign in to comment.