Re: [PATCH v2 2/2] diff --no-index tests: test mode normalization

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

 



Ævar Arnfjörð Bjarmason  <avarab@xxxxxxxxx> writes:

> +test_expect_success POSIXPERM,SYMLINKS 'diff --no-index normalizes: mode not like git mode (symlink)' '
> +	ln -s y z &&
> +	X_OID=$(git hash-object --stdin <x) &&
> +	Z_OID=$(echo -n y | git hash-object --stdin) &&

s/echo -n/printf/

t4053-diff-no-index.sh:185: error: echo with option is not portable
(use printf): Z_OID=$(echo -n y | git hash-object --stdin) &&
gmake[1]: *** [Makefile:95: test-lint-shell-syntax] Error 1
gmake[1]: Leaving directory '/home/jch/w/buildfarm/jch/t'
gmake: *** [Makefile:2855: test] Error 2




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux