GODT-1815: Start with missing gluon files

This commit is contained in:
James Houlahan
2022-09-27 13:22:07 +02:00
parent 612fb7ad7b
commit 9670e29d9f
18 changed files with 241 additions and 101 deletions

View File

@ -55,6 +55,15 @@ func (s *scenario) theUserChangesTheGluonPath() error {
return s.t.bridge.SetGluonDir(context.Background(), gluonDir)
}
func (s *scenario) theUserDeletesTheGluonFiles() error {
path, err := s.t.locator.ProvideGluonPath()
if err != nil {
return err
}
return os.RemoveAll(path)
}
func (s *scenario) theUserHasDisabledAutomaticUpdates() error {
var started bool