From a804385fd690a383e64a9dd610a48e8e3b3065f5 Mon Sep 17 00:00:00 2001 From: jbieren Date: May 25 2017 18:53:33 +0000 Subject: ltp: change some shell tasks to script The shell module is trying to run for example ./knownissues.sh on the remote host, but that file only exists on the host calling the playbook. Script is defined to copy the script to the system under test and then execute it via shell, so this should fix it. We didn't see it before because with localhost the two are the same since remote = local --- diff --git a/misc/ltp/test_local.yml b/misc/ltp/test_local.yml index 5f7b99d..ecc9183 100644 --- a/misc/ltp/test_local.yml +++ b/misc/ltp/test_local.yml @@ -49,11 +49,11 @@ target: install - name: Get known issues - shell: ./knownissues.sh > {{ltpdir}}/ltp.skip + script: ./knownissues.sh > {{ltpdir}}/ltp.skip - block: - name: Run ltp - shell: ./runtest.sh {{ltpdir}} + script: ./runtest.sh {{ltpdir}} always: - name: Get logs @@ -62,4 +62,4 @@ src: "{{ltplogs}}" - name: Grep dmesg - shell: ./dmesg_grep.sh {{ltplogs}}/ltp-dmesg* {{ctlogs}} + script: ./dmesg_grep.sh {{ltplogs}}/ltp-dmesg* {{ctlogs}}