Paolo Bonzini | b93b63f | 2012-03-28 15:42:01 +0200 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | # |
| 3 | # Copyright IBM, Corp. 2012 |
| 4 | # |
| 5 | # Authors: |
| 6 | # Anthony Liguori <aliguori@us.ibm.com> |
| 7 | # |
| 8 | # This work is licensed under the terms of the GNU GPLv2 or later. |
| 9 | # See the COPYING file in the top-level directory. |
| 10 | |
| 11 | cat <<EOF |
| 12 | <?xml version="1.0"?> |
| 13 | <gtester> |
| 14 | <info> |
| 15 | <package>qemu</package> |
| 16 | <version>0.0</version> |
| 17 | <revision>rev</revision> |
| 18 | </info> |
| 19 | EOF |
| 20 | |
| 21 | sed \ |
| 22 | -e '/<?xml/d' \ |
| 23 | -e '/^<gtester>$/d' \ |
| 24 | -e '/<info>/,/<\/info>/d' \ |
| 25 | -e '$b' \ |
| 26 | -e '/^<\/gtester>$/d' "$@" |