ferrochrome-tests: Fix build rule for test script
This forces test to run with bash, instead of any random shell.
Bug: 353864738
Test: ABTD
Change-Id: I59aacc970cf0212ef654651970e5b500e7d98179
diff --git a/tests/ferrochrome/Android.bp b/tests/ferrochrome/Android.bp
index f165b8f..f1b7f27 100644
--- a/tests/ferrochrome/Android.bp
+++ b/tests/ferrochrome/Android.bp
@@ -19,8 +19,7 @@
name: "ferrochrome-tests.sh",
srcs: ["ferrochrome.sh"],
out: ["ferrochrome-tests"],
- // This breaks shebang, but test will execute the script with bash
- cmd: "echo \"set -x\" > $(out); cat $(in) >> $(out)",
+ cmd: "sed '2 i set -x' $(in) > $(out)",
}
sh_binary_host {