mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 21:14:32 +04:00
* Added test.sh script
* Fixed build with riscv64
* Passed package version via go ldflags
* Refreshed patches
* Removed useless test binaries from package
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 27b4291bd4)
12 lines
336 B
Diff
12 lines
336 B
Diff
--- a/common/buildtest/masking.go
|
|
+++ b/common/buildtest/masking.go
|
|
@@ -55,7 +55,7 @@ func RunBuildWithMasking(t *testing.T, c
|
|
|
|
buf.Finish()
|
|
|
|
- contents, err := buf.Bytes(0, math.MaxInt64)
|
|
+ contents, err := buf.Bytes(0, math.MaxInt32)
|
|
assert.NoError(t, err)
|
|
|
|
assert.NotContains(t, string(contents), "MASKED_KEY=MASKED_VALUE")
|