@@ -55,7 +55,7 @@ func TestBuild(t *testing.T) {
55
55
RepoRoot : "./test" ,
56
56
Target : root.Target {
57
57
Distro : "centos" ,
58
- KernelRelease : "5.14 .0-370.el9 .x86_64" ,
58
+ KernelRelease : "4.18 .0-527.el8 .x86_64" ,
59
59
KernelVersion : "1" ,
60
60
},
61
61
},
@@ -64,15 +64,15 @@ func TestBuild(t *testing.T) {
64
64
IgnoreErrors : false ,
65
65
},
66
66
expectedLocalObjects : []string {
67
- "falco_centos_5.14 .0-370.el9 .x86_64_1.ko" ,
68
- "falco_centos_5.14 .0-370.el9 .x86_64_1.o" ,
67
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.ko" ,
68
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.o" ,
69
69
},
70
70
expectedBucketObjects : []string {
71
- "falco_centos_5.14 .0-370.el9 .x86_64_1.ko" ,
72
- "falco_centos_5.14 .0-370.el9 .x86_64_1.o" ,
71
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.ko" ,
72
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.o" ,
73
73
},
74
74
shouldCreate : true ,
75
- name : "build 5.0.1+driver centos 5.14 .0-370.el9 .x86_64" ,
75
+ name : "build 5.0.1+driver centos 4.18 .0-527.el8 .x86_64" ,
76
76
},
77
77
{
78
78
opts : Options {
@@ -83,7 +83,7 @@ func TestBuild(t *testing.T) {
83
83
RepoRoot : "./test" ,
84
84
Target : root.Target {
85
85
Distro : "centos" ,
86
- KernelRelease : "5.14 .0-372.el9 .x86_64" ,
86
+ KernelRelease : "4.18 .0-529.el8 .x86_64" ,
87
87
KernelVersion : "1" ,
88
88
},
89
89
},
@@ -92,17 +92,17 @@ func TestBuild(t *testing.T) {
92
92
IgnoreErrors : false ,
93
93
},
94
94
expectedLocalObjects : []string {
95
- "falco_centos_5.14 .0-372.el9 .x86_64_1.ko" ,
96
- "falco_centos_5.14 .0-372.el9 .x86_64_1.o" ,
97
- "falco_centos_5.14 .0-370.el9 .x86_64_1.ko" ,
98
- "falco_centos_5.14 .0-370.el9 .x86_64_1.o" ,
95
+ "falco_centos_4.18 .0-529.el8 .x86_64_1.ko" ,
96
+ "falco_centos_4.18 .0-529.el8 .x86_64_1.o" ,
97
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.ko" ,
98
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.o" ,
99
99
},
100
100
expectedBucketObjects : []string {
101
- "falco_centos_5.14 .0-370.el9 .x86_64_1.ko" ,
102
- "falco_centos_5.14 .0-370.el9 .x86_64_1.o" ,
101
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.ko" ,
102
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.o" ,
103
103
},
104
104
shouldCreate : false , // since it is not publishing
105
- name : "build 5.0.1+driver centos 5.14 .0-372.el9 .x86_64" ,
105
+ name : "build 5.0.1+driver centos 4.18 .0-529.el8 .x86_64" ,
106
106
},
107
107
{
108
108
opts : Options {
@@ -113,7 +113,7 @@ func TestBuild(t *testing.T) {
113
113
RepoRoot : "./test" ,
114
114
Target : root.Target {
115
115
Distro : "centos" ,
116
- KernelRelease : "5.14 .0-370.el9 .x86_64" , // try to rebuild same object.
116
+ KernelRelease : "4.18 .0-527.el8 .x86_64" , // try to rebuild same object.
117
117
KernelVersion : "1" ,
118
118
},
119
119
},
@@ -122,17 +122,17 @@ func TestBuild(t *testing.T) {
122
122
IgnoreErrors : false ,
123
123
},
124
124
expectedLocalObjects : []string {
125
- "falco_centos_5.14 .0-372.el9 .x86_64_1.ko" ,
126
- "falco_centos_5.14 .0-372.el9 .x86_64_1.o" ,
127
- "falco_centos_5.14 .0-370.el9 .x86_64_1.ko" ,
128
- "falco_centos_5.14 .0-370.el9 .x86_64_1.o" ,
125
+ "falco_centos_4.18 .0-529.el8 .x86_64_1.ko" ,
126
+ "falco_centos_4.18 .0-529.el8 .x86_64_1.o" ,
127
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.ko" ,
128
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.o" ,
129
129
},
130
130
expectedBucketObjects : []string {
131
- "falco_centos_5.14 .0-370.el9 .x86_64_1.ko" ,
132
- "falco_centos_5.14 .0-370.el9 .x86_64_1.o" ,
131
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.ko" ,
132
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.o" ,
133
133
},
134
134
shouldCreate : false , // since objects are already present, nothing should be created
135
- name : "rebuild 5.0.1+driver centos 5.14 .0-370.el9 .x86_64" ,
135
+ name : "rebuild 5.0.1+driver centos 4.18 .0-527.el8 .x86_64" ,
136
136
},
137
137
{
138
138
opts : Options {
@@ -143,7 +143,7 @@ func TestBuild(t *testing.T) {
143
143
RepoRoot : "./test" ,
144
144
Target : root.Target {
145
145
Distro : "centos" ,
146
- KernelRelease : "5.14 .0-370.el9 .x86_64" , // try to rebuild same object.
146
+ KernelRelease : "4.18 .0-527.el8 .x86_64" , // try to rebuild same object.
147
147
KernelVersion : "1" ,
148
148
},
149
149
},
@@ -152,17 +152,17 @@ func TestBuild(t *testing.T) {
152
152
IgnoreErrors : false ,
153
153
},
154
154
expectedLocalObjects : []string {
155
- "falco_centos_5.14 .0-372.el9 .x86_64_1.ko" ,
156
- "falco_centos_5.14 .0-372.el9 .x86_64_1.o" ,
157
- "falco_centos_5.14 .0-370.el9 .x86_64_1.ko" ,
158
- "falco_centos_5.14 .0-370.el9 .x86_64_1.o" ,
155
+ "falco_centos_4.18 .0-529.el8 .x86_64_1.ko" ,
156
+ "falco_centos_4.18 .0-529.el8 .x86_64_1.o" ,
157
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.ko" ,
158
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.o" ,
159
159
},
160
160
expectedBucketObjects : []string {
161
- "falco_centos_5.14 .0-370.el9 .x86_64_1.ko" ,
162
- "falco_centos_5.14 .0-370.el9 .x86_64_1.o" ,
161
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.ko" ,
162
+ "falco_centos_4.18 .0-527.el8 .x86_64_1.o" ,
163
163
},
164
164
shouldCreate : true ,
165
- name : "rebuild and publish 5.0.1+driver centos 5.14 .0-370.el9 .x86_64" ,
165
+ name : "rebuild and publish 5.0.1+driver centos 4.18 .0-527.el8 .x86_64" ,
166
166
},
167
167
}
168
168
0 commit comments