Voelker, Bernhard wrote:

> Jim Meyering wrote:
>> Please run this command from your build directory
>>
>>   cd src && { touch a b; mode3=2755; ./ginstall -Cv -m$mode3 a b }
>>
>> and tell us what it prints.
>
> somehow, my shell (/bin/ksh) doesn't like the { ... } syntax here:
>
>   $ cd src && { touch a b; mode3=2755; ./ginstall -Cv -m$mode3 a b }
>   >
>
> it waits for the command to be continued ... I can't see why
>
> Replacing the { ... } by ( ... ), it prints this:
>
>   $ cd src && ( ./touch a b; mode3=2755; ./ginstall -Cv -m$mode3 a b )
>   removed `b'
>   `a' -> `b'

Thanks.
That's good, in that it produces the expected output.
But it doesn't help me see why that test is failing for you.

Long-term, best for you would be to install GNU diffutils.
If you can do that now, that'd be best, because then
when a test fails, it'll show us the actual diffs
rather than having to resort to using "cmp"
and simply saying the files differed.

If you cannot install diffutils right now, please
insert this line at the end of test-lib.sh:

  compare() { diff -c "$@"; }

and rerun that failing install-C test.
That should make it output useful diff output when
the test fails.


Reply via email to