Commit 9cabc391 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

test: remove bashism from Makefile

* redirect both stdout and stderr
bash: >& and &>
dash: command > file 2>&1 or command 2>&1 | othercommand
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 902f9f3c
...@@ -8,7 +8,7 @@ zdtm_ns_user: $(shell echo "$(TST)" | tr ' ' '\n' | awk '/^ns\/user/ {print}') ...@@ -8,7 +8,7 @@ zdtm_ns_user: $(shell echo "$(TST)" | tr ' ' '\n' | awk '/^ns\/user/ {print}')
zdtm_nons: $(shell echo "$(TST)" | tr ' ' '\n' | awk '!/^ns\// {print}') zdtm_nons: $(shell echo "$(TST)" | tr ' ' '\n' | awk '!/^ns\// {print}')
$(TST): zdtm_ct mount_cgroups .FORCE $(TST): zdtm_ct mount_cgroups .FORCE
./zdtm.sh --ct ${ZDTM_ARGS} -r $(@) &> $(subst /,_,$@).log; \ ./zdtm.sh --ct ${ZDTM_ARGS} -r $(@) > $(subst /,_,$@).log 2>&1; \
{ ret=$$?; fname=$(subst /,_,$@).log; flock Makefile cat $$fname; unlink $$fname; exit $$ret; } { ret=$$?; fname=$(subst /,_,$@).log; flock Makefile cat $$fname; unlink $$fname; exit $$ret; }
mount_cgroups: .FORCE mount_cgroups: .FORCE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment