Add regression test for rhbz#1981486
This commit is contained in:
parent
87a2576a2a
commit
32df82418d
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
8
gating.yaml
Normal file
8
gating.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_contexts:
|
||||
- bodhi_update_push_testing
|
||||
- bodhi_update_push_stable
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
10
plans/forktest.fmf
Normal file
10
plans/forktest.fmf
Normal file
@ -0,0 +1,10 @@
|
||||
summary: Basic smoke test
|
||||
prepare:
|
||||
how: install
|
||||
package: xmvn-minimal
|
||||
execute:
|
||||
script: |
|
||||
set -x
|
||||
cd ./plans/forktest
|
||||
javac -d target/test-classes ForkTest.java
|
||||
xmvn -V -e -B -o surefire:test
|
4
plans/forktest/ForkTest.java
Normal file
4
plans/forktest/ForkTest.java
Normal file
@ -0,0 +1,4 @@
|
||||
public class ForkTest {
|
||||
public void testFork() {
|
||||
}
|
||||
}
|
16
plans/forktest/pom.xml
Normal file
16
plans/forktest/pom.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>test</groupId>
|
||||
<artifactId>forktest</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<forkCount>2</forkCount>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
Loading…
Reference in New Issue
Block a user