Revert "Fix kernel testing by adjusting launch_cvd working directory"
This reverts commit bb43b0625005e093936a899b49cbd103482e786b.
Reason for revert:
It breaks two of the GKI respin tests.
Change-Id: I0d6c68c7e9963474ce464e5f2de9b2d66bd1ac40
diff --git a/internal/lib/cvd_compute_client_multi_stage.py b/internal/lib/cvd_compute_client_multi_stage.py
index 1de71e4..a490c1c 100644
--- a/internal/lib/cvd_compute_client_multi_stage.py
+++ b/internal/lib/cvd_compute_client_multi_stage.py
@@ -243,8 +243,8 @@
boot_timeout_secs = self._GetBootTimeout(
avd_spec.boot_timeout_secs or constants.DEFAULT_CF_BOOT_TIMEOUT)
- ssh_command = (f"'cd {base_dir} && HOME=$HOME/{base_dir} "
- f"bin/launch_cvd -daemon "
+ ssh_command = (f"'HOME=$HOME/{base_dir} "
+ f"{base_dir}/bin/launch_cvd -daemon "
f"{' '.join(launch_cvd_args)}'")
try:
self.ExtendReportData(_LAUNCH_CVD_COMMAND, ssh_command)