From 50e9cd2ca75c9387113cea136ca06b29fae098cf Mon Sep 17 00:00:00 2001 From: Ali Rizvi-Santiago Date: Tue, 16 Jan 2018 13:46:27 -0600 Subject: [PATCH] Initial fixes of common/config.go after rebase before refactoring of test-cases so that they don't require root to run. --- common/config.go | 1 + common/config_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/common/config.go b/common/config.go index 5631e8e5e..c79710221 100644 --- a/common/config.go +++ b/common/config.go @@ -8,6 +8,7 @@ import ( "regexp" "strings" "time" + "runtime" ) // PackerKeyEnv is used to specify the key interval (delay) between keystrokes diff --git a/common/config_test.go b/common/config_test.go index 2eaa5a998..af26aeefa 100644 --- a/common/config_test.go +++ b/common/config_test.go @@ -7,6 +7,7 @@ import ( "path/filepath" "strings" "testing" + "runtime" ) func TestChooseString(t *testing.T) {