Re: [PATCH] tests: Don't use bash if we don't have to

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/7/29 Eric Blake <eblake@xxxxxxxxxx>:
> On 07/29/2011 06:19 AM, Matthias Bolte wrote:
>>
>> This tested failed on FreeBSD because it was using bash, that might
>> not be installed.
>> ---
>>  tests/int-overflow |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/tests/int-overflow b/tests/int-overflow
>> index baf2eef..36e5536 100755
>> --- a/tests/int-overflow
>> +++ b/tests/int-overflow
>> @@ -1,4 +1,4 @@
>> -#!/bin/bash
>> +#!/bin/sh
>
> This script sources test-lib.sh, which in turn uses features like $() that
> are not portable to Solaris /bin/sh.  But I didn't see any bash-isms -
> everything in those two files appears to be safe for use with POSIX sh, so
> I'm okay with the patch as is:
>
> ACK.

Thanks, pushed.

-- 
Matthias Bolte
http://photron.blogspot.com

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]