diff mbox

fwts-live: save various system and firmware data at end of test (LP: #1322543)

Message ID 1400851671-20468-1-git-send-email-colin.king@canonical.com
State Rejected
Headers show

Commit Message

Colin Ian King May 23, 2014, 1:27 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

run fwts --dump to save various system and firmware related information
for later analysis

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 live-image/fwts-frontend-text | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Colin Ian King May 23, 2014, 1:29 p.m. UTC | #1
Oops, sent out wrong patch, apologies.

On 23/05/14 14:27, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> run fwts --dump to save various system and firmware related information
> for later analysis
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  live-image/fwts-frontend-text | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/live-image/fwts-frontend-text b/live-image/fwts-frontend-text
> index 2f82749..94af4d0 100755
> --- a/live-image/fwts-frontend-text
> +++ b/live-image/fwts-frontend-text
> @@ -202,6 +202,12 @@ done_tests_finish()
>          ln -sf $WORK_DIR/results.html /fwts/results.html
>      fi
>  
> +	#
> +	# Dump outi firmware and system data, LP: #1322543x`
> +	#
> +	cd $WORK_DIR
> +	fwts --dump > /dev/null
> +
>  	dialog  --backtitle "$FWTS" --title "Testing Complete" --yesno \
>  "The results can be found on the USB stick in the\n
>  the directory: /fwts/$FWTS_DATE/$FWTS_TIME/results.log\n\n
>
diff mbox

Patch

diff --git a/live-image/fwts-frontend-text b/live-image/fwts-frontend-text
index 2f82749..94af4d0 100755
--- a/live-image/fwts-frontend-text
+++ b/live-image/fwts-frontend-text
@@ -202,6 +202,12 @@  done_tests_finish()
         ln -sf $WORK_DIR/results.html /fwts/results.html
     fi
 
+	#
+	# Dump outi firmware and system data, LP: #1322543x`
+	#
+	cd $WORK_DIR
+	fwts --dump > /dev/null
+
 	dialog  --backtitle "$FWTS" --title "Testing Complete" --yesno \
 "The results can be found on the USB stick in the\n
 the directory: /fwts/$FWTS_DATE/$FWTS_TIME/results.log\n\n