From a80d11ecd2b0d21eaad6358c0b3d9b43b04c6363 Mon Sep 17 00:00:00 2001 From: Lukas Waymann Date: Tue, 13 Apr 2021 14:56:53 +0800 Subject: Fix stress-ng-test-for-class-* jobs failing after reboot When Checkbox continues after a reboot the working directory is "/", but `stress-ng` must be run in a writeable directory. See . --- units/stress/stress-ng.pxu | 1 + 1 file changed, 1 insertion(+) (limited to 'units/stress') diff --git a/units/stress/stress-ng.pxu b/units/stress/stress-ng.pxu index 9083fe6..7042d0f 100644 --- a/units/stress/stress-ng.pxu +++ b/units/stress/stress-ng.pxu @@ -29,4 +29,5 @@ plugin: shell estimated_duration: 1200.0 environ: STRESS_NG_CLASSES_TIMEOUT command: + cd /var/tmp stress-ng --sequential 0 --class {stress-ng-class} --timeout "${{STRESS_NG_CLASSES_TIMEOUT:-30}}" -- cgit v1.2.3