From ea7d8e0806b2f208f8afad498064b13ee526ada6 Mon Sep 17 00:00:00 2001 From: jbieren Date: May 30 2017 14:25:07 +0000 Subject: Update misc/ltp/test_local.yml The script module seems to have a bug where it closes the ssh connection, so clone the repo to the system under test and then run them from there --- diff --git a/misc/ltp/test_local.yml b/misc/ltp/test_local.yml index ecc9183..c956d36 100644 --- a/misc/ltp/test_local.yml +++ b/misc/ltp/test_local.yml @@ -28,6 +28,11 @@ repo: "{{ltpgit}}" dest: "{{builddir}}" version: "{{ltpgitver}}" + + - name: Fetch ktests repo + git: + repo: http://pagure.io/ktests + dest: ./ktests - name: Run autotools for ltp make: @@ -49,11 +54,11 @@ target: install - name: Get known issues - script: ./knownissues.sh > {{ltpdir}}/ltp.skip + shell: ./ktests/misc/ltp/knownissues.sh > {{ltpdir}}/ltp.skip - block: - name: Run ltp - script: ./runtest.sh {{ltpdir}} + shell: ./ktests/misc/ltp/runtest.sh {{ltpdir}} always: - name: Get logs @@ -62,4 +67,4 @@ src: "{{ltplogs}}" - name: Grep dmesg - script: ./dmesg_grep.sh {{ltplogs}}/ltp-dmesg* {{ctlogs}} + shell: ./ktests/misc/ltp/dmesg_grep.sh {{ltplogs}}/ltp-dmesg* {{ctlogs}}