Thread (1 message) 1 message, 1 author, 2021-03-22

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

From: Junio C Hamano <hidden>
Date: 2021-03-22 19:23:08

Ævar Arnfjörð Bjarmason  [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help