Skip to content

Commit

Permalink
Restore not checking fake exec scripts
Browse files Browse the repository at this point in the history
from 4ffaf92

I'm a bit stumped on why this doesn't fail locally, but it was caught by
travis
  • Loading branch information
phillc committed Sep 10, 2020
1 parent 5ab49b5 commit 565703d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
sudo: required
dist: xenial

services:
- docker
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ vet: fmt

.PHONY: test
test: vet
go test -v ./... -cover
go test -v ./... -cover $(TEST_ARGS)

.PHONY: build-linux
build-linux:
Expand Down
2 changes: 1 addition & 1 deletion pkg/mount-manager/fake-safe-mounter.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

func NewFakeSafeMounter() *mount.SafeFormatAndMount {
fakeMounter := &mount.FakeMounter{MountPoints: []mount.MountPoint{}}
fakeExec := &exectesting.FakeExec{}
fakeExec := &exectesting.FakeExec{DisableScripts: true}
return &mount.SafeFormatAndMount{
Interface: fakeMounter,
Exec: fakeExec,
Expand Down

0 comments on commit 565703d

Please sign in to comment.