Lines Matching refs:err
164 # stderr --> $err
166 err=$(mktemp /tmp/err_XXXX)
167 trap "rm -f $out $err" EXIT INT QUIT PIPE
168 lxc-attach -n busy -- sh -c 'echo OUT; echo ERR >&2' > $out 2> $err || FAIL "to allocate or setup pty"
170 errcontent=$(cat $err)
172 FAIL "lxc-attach -n busy -- sh -c 'echo OUT; echo ERR >&2' > $out 2> $err"
175 rm -f $out $err
179 # stderr --> $err
182 err=$(mktemp /tmp/err_XXXX)
183 trap "rm -f $out $err" EXIT INT QUIT PIPE
184 echo "hostname; rm" | lxc-attach -n busy > $out 2> $err || true
186 errcontent=$(cat $err)
188 FAIL "echo 'hostname; rm' | lxc-attach -n busy > $out 2> $err"
191 rm -f $out $err