Skip to content

Commit 7cbe5eb

Browse files
committed
Issue #134 - Adding tests to catch unlinked jar command
1 parent fc5c1a4 commit 7cbe5eb

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

test/integration/openjdk-7/bats/verify_openjdk-7.bats

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@
77
run test -d $JAVA_HOME
88
[ "$status" -eq 0 ]
99
}
10+
11+
@test "properly links jar" {
12+
run test -L /usr/bin/jar
13+
[ "$status" -eq 0 ]
14+
}

test/integration/openjdk/bats/verify_openjdk.bats

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@
77
run test -d $JAVA_HOME
88
[ "$status" -eq 0 ]
99
}
10+
11+
@test "properly links jar" {
12+
run test -L /usr/bin/jar
13+
[ "$status" -eq 0 ]
14+
}

test/integration/oracle-7/bats/verify_oracle-7.bats

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@
77
run test -d $JAVA_HOME
88
[ "$status" -eq 0 ]
99
}
10+
11+
@test "properly links jar" {
12+
run test -L /usr/bin/jar
13+
[ "$status" -eq 0 ]
14+
}

test/integration/oracle/bats/verify_oracle.bats

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@
77
run test -d $JAVA_HOME
88
[ "$status" -eq 0 ]
99
}
10+
11+
@test "properly links jar" {
12+
run test -L /usr/bin/jar
13+
[ "$status" -eq 0 ]
14+
}

0 commit comments

Comments
 (0)