demo: Fix the timeout command usage
authorNikhil Devshatwar <nikhil.nd@ti.com>
Wed, 4 Sep 2019 14:17:56 +0000 (19:47 +0530)
committerNikhil Devshatwar <nikhil.nd@ti.com>
Wed, 4 Sep 2019 14:17:59 +0000 (19:47 +0530)
timeout command does not support -t option.
Update demo script to use the correct syntax.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
demo/cockpit-demo-infotainment-VM.sh

index a3250c012af0dcbd850df8821ddd3716deff9dac..98571b8f1ff419875e5f1ff05b631a68607be958 100755 (executable)
@@ -9,7 +9,7 @@ run_gfx_apps() {
                for i in $DEMOLIST;
                do
                        echo ">>>>>>>>>>>>>>>>>>>>>> Running $i...";
-                       timeout -t 12 -s 9 /usr/bin/SGX/demos/Wayland/$i -width=800 -height=600
+                       timeout 12 -s 9 /usr/bin/SGX/demos/Wayland/$i -width=800 -height=600
                done
        done
 }