summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/bash/bash-3.2.48/test-output.patch
diff options
context:
space:
mode:
authorMuhammad Shakeel <muhammad_shakeel@mentor.com>2013-07-05 12:23:18 +0500
committerSaul Wold <sgw@linux.intel.com>2013-07-25 23:44:27 -0700
commitd054da760deda0c965619372209b50f8db964e1c (patch)
tree5ad449ba8576106d484b7595a95b5731e925de8d /meta/recipes-extended/bash/bash-3.2.48/test-output.patch
parent9c48963a67c9dfd46f1d76ed42a9bd35e8cc2c8c (diff)
downloadopenembedded-core-d054da760deda0c965619372209b50f8db964e1c.tar.gz
openembedded-core-d054da760deda0c965619372209b50f8db964e1c.tar.bz2
openembedded-core-d054da760deda0c965619372209b50f8db964e1c.zip
bash: Add ptest
ptest support was already added for v4.2 but for the distros using GPLv2 version of bash (3.2.48) this update is required. Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/bash/bash-3.2.48/test-output.patch')
-rw-r--r--meta/recipes-extended/bash/bash-3.2.48/test-output.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash-3.2.48/test-output.patch b/meta/recipes-extended/bash/bash-3.2.48/test-output.patch
new file mode 100644
index 0000000000..2b09b7d977
--- /dev/null
+++ b/meta/recipes-extended/bash/bash-3.2.48/test-output.patch
@@ -0,0 +1,25 @@
+Add FAIL/PASS output to test output.
+
+Signed-off-by: Björn Stenberg <bjst@enea.com>
+Upstream-Status: Pending
+---
+diff -uNr a/tests/run-all b/tests/run-all
+--- a/tests/run-all 1999-10-08 17:07:46.000000000 +0200
++++ b/tests/run-all 2012-10-27 21:04:18.663331887 +0200
+@@ -22,7 +22,15 @@
+ case $x in
+ $0|run-minimal|run-gprof) ;;
+ *.orig|*~) ;;
+- *) echo $x ; sh $x ;;
++ *) echo $x
++ output=`sh $x`
++ if [ -n "$output" ]; then
++ echo "$output"
++ echo "FAIL: $x"
++ else
++ echo "PASS: $x"
++ fi
++ ;;
+ esac
+ done
+