Testsuite name: Jpackage
Test name(s): JPKG002-005: SimplePackageTest
Product(s) tested: JDK 16
OS/architecture: MacOS 11 x64
Reproducible: Always
Use JDK 16 dev build:
https://jpg-data.us.oracle.com/artifactory/jdk-dev-local/jdk/personal/andy.herrick/2020-10-07-1411176.andy.herrick.jdk-jdk/bundles/osx-x64/jdk-16-internal+0_osx-x64_bin-symbols.tar.gz
Steps to reproduce:
1. Check preconditions
a. VERIFY There are no JREs/JDKs installed.
2. Launch SimplePackageTest-1.0.pkg.
3. Complete installation.
4. Open Finder and navigate to Applications.
5. Double click SimplePackageTest in Applications.
6. Open appOutput.txt in user home directory.
Expected result:
Contents of appOutput.txt contain:
jpackage test application
args.length: 0
Actual behavior:
Contents of appOutput.txt contain:
jpackage test application
args.length: 1
-psn_0_294984
Same issue reproduced in:
JPKG002-003: InstallDirTest
JPKG002-006: SigningPackageTest
JPKG002-008: NameWithSpaceTest
Similar issue also seen in JPKG002-001: AddLauncherTest
The difference is the expected result in this case expects more arguements
Steps to reproduce:
1. Check preconditions
a. VERIFY There are no JREs/JDKs installed.
b. Delete any appOutput.txt files on machine.
2. Launch AddLauncherTest-1.0.pkg and finish install.
3. Open Finder and navigate to Applications.
4. Double click AddLauncherTest in Applications.
5. Open another Finder to user home directory.
6. Open appOutput.txt.
Expected result:
Contents of appOutput.txt contain:
jpackage test application
args.length: 4
Duke
is
the
King
Actual behavior:
Contents of appOutput.txt contain:
jpackage test application
args.length: 1
-psn_0_294984
Test name(s): JPKG002-005: SimplePackageTest
Product(s) tested: JDK 16
OS/architecture: MacOS 11 x64
Reproducible: Always
Use JDK 16 dev build:
https://jpg-data.us.oracle.com/artifactory/jdk-dev-local/jdk/personal/andy.herrick/2020-10-07-1411176.andy.herrick.jdk-jdk/bundles/osx-x64/jdk-16-internal+0_osx-x64_bin-symbols.tar.gz
Steps to reproduce:
1. Check preconditions
a. VERIFY There are no JREs/JDKs installed.
2. Launch SimplePackageTest-1.0.pkg.
3. Complete installation.
4. Open Finder and navigate to Applications.
5. Double click SimplePackageTest in Applications.
6. Open appOutput.txt in user home directory.
Expected result:
Contents of appOutput.txt contain:
jpackage test application
args.length: 0
Actual behavior:
Contents of appOutput.txt contain:
jpackage test application
args.length: 1
-psn_0_294984
Same issue reproduced in:
JPKG002-003: InstallDirTest
JPKG002-006: SigningPackageTest
JPKG002-008: NameWithSpaceTest
Similar issue also seen in JPKG002-001: AddLauncherTest
The difference is the expected result in this case expects more arguements
Steps to reproduce:
1. Check preconditions
a. VERIFY There are no JREs/JDKs installed.
b. Delete any appOutput.txt files on machine.
2. Launch AddLauncherTest-1.0.pkg and finish install.
3. Open Finder and navigate to Applications.
4. Double click AddLauncherTest in Applications.
5. Open another Finder to user home directory.
6. Open appOutput.txt.
Expected result:
Contents of appOutput.txt contain:
jpackage test application
args.length: 4
Duke
is
the
King
Actual behavior:
Contents of appOutput.txt contain:
jpackage test application
args.length: 1
-psn_0_294984