Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7abebafe authored by Patrice Arruda's avatar Patrice Arruda Committed by Automerger Merge Worker
Browse files

[DO NOT MERGE] Add newline to each generated bash script in rbe_test.go. am: b258d936

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12598126

Change-Id: I67d348cbdc93248976c1d22b1554e0c365e7644d
parents 13ea2a5d b258d936
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -98,12 +98,12 @@ func TestDumpRBEMetricsErrors(t *testing.T) {
	}, {
		description:         "stopRBE failed",
		rbeOutputDirDefined: true,
		bootstrapProgram:    "#!/bin/bash\nexit 1",
		bootstrapProgram:    "#!/bin/bash\nexit 1\n",
		expectedErr:         "shutdown failed",
	}, {
		description:         "failed to copy metrics file",
		rbeOutputDirDefined: true,
		bootstrapProgram:    "#!/bin/bash",
		bootstrapProgram:    "#!/bin/bash\n",
		expectedErr:         "failed to copy",
	}}

@@ -147,4 +147,4 @@ func TestDumpRBEMetricsErrors(t *testing.T) {
	}
}

var rbeBootstrapProgram = fmt.Sprintf("#!/bin/bash\necho 1 > $RBE_output_dir/%s", rbeMetricsPBFilename)
var rbeBootstrapProgram = fmt.Sprintf("#!/bin/bash\necho 1 > $RBE_output_dir/%s\n", rbeMetricsPBFilename)