mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
Suppress read of .mlrrc during regression tests (#808)
This commit is contained in:
parent
f2f528ee41
commit
5e8d3fddd0
2 changed files with 2 additions and 1 deletions
1
Makefile
1
Makefile
|
|
@ -84,7 +84,6 @@ so: install
|
|||
sure: build check
|
||||
mlr:
|
||||
go build github.com/johnkerl/miller/cmd/mlr
|
||||
go build github.com/johnkerl/miller/cmd/mprof5
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# Please see comments in ./create-release-tarball as well as
|
||||
|
|
|
|||
|
|
@ -159,6 +159,8 @@ func (regtester *RegTester) Execute(
|
|||
for _, name := range envVarsToUnset {
|
||||
os.Unsetenv(name)
|
||||
}
|
||||
// If there is an accessible .mlrrc file, we don't want it to be read for the regression test.
|
||||
os.Setenv("MLRRC", "__none__")
|
||||
|
||||
regtester.resetCounts()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue