Resolve "Nil pointer dereference in integration test"
Compare changes
@@ -20,10 +20,11 @@ const testPath = "/system/config/hostname"
@@ -20,10 +20,11 @@ const testPath = "/system/config/hostname"
@@ -31,6 +32,11 @@ func TestMain(m *testing.M) {
@@ -31,6 +32,11 @@ func TestMain(m *testing.M) {
@@ -91,7 +97,9 @@ func testSetupIntegration() {
@@ -91,7 +97,9 @@ func testSetupIntegration() {
@@ -107,7 +115,7 @@ func TestCmdIntegration(t *testing.T) {
@@ -107,7 +115,7 @@ func TestCmdIntegration(t *testing.T) {
@@ -118,7 +126,7 @@ func TestCmdIntegration(t *testing.T) {
@@ -118,7 +126,7 @@ func TestCmdIntegration(t *testing.T) {
@@ -132,7 +140,7 @@ func TestCmdIntegration(t *testing.T) {
@@ -132,7 +140,7 @@ func TestCmdIntegration(t *testing.T) {
@@ -143,7 +151,7 @@ func TestCmdIntegration(t *testing.T) {
@@ -143,7 +151,7 @@ func TestCmdIntegration(t *testing.T) {
@@ -155,7 +163,7 @@ func TestCmdIntegration(t *testing.T) {
@@ -155,7 +163,7 @@ func TestCmdIntegration(t *testing.T) {
@@ -167,10 +175,10 @@ func TestCmdIntegration(t *testing.T) {
@@ -167,10 +175,10 @@ func TestCmdIntegration(t *testing.T) {