[libvirt] [PATCH 1/4] storage: add alias for less typing
Peter Krempa
pkrempa at redhat.com
Mon Jun 16 07:10:20 UTC 2014
On 06/13/14 18:31, Eric Blake wrote:
> Typing chain->backingStore->backingStore gets old after a while;
> introduce some alias variables to make the test more compact.
>
> * tests/virstoragetest.c (mymain): Introduce some shorthand.
>
> Signed-off-by: Eric Blake <eblake at redhat.com>
> ---
> tests/virstoragetest.c | 63 +++++++++++++++++++++-----------------------------
> 1 file changed, 26 insertions(+), 37 deletions(-)
>
> diff --git a/tests/virstoragetest.c b/tests/virstoragetest.c
> index cdd4794..cffb961 100644
> --- a/tests/virstoragetest.c
> +++ b/tests/virstoragetest.c
ACK,
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140616/c06184a4/attachment-0001.sig>
More information about the libvir-list
mailing list