Lines Matching refs:out
163 # stdout --> $out
165 out=$(mktemp /tmp/out_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"
169 outcontent=$(cat $out)
172 FAIL "lxc-attach -n busy -- sh -c 'echo OUT; echo ERR >&2' > $out 2> $err"
175 rm -f $out $err
178 # stdout --> $out
181 out=$(mktemp /tmp/out_XXXX)
183 trap "rm -f $out $err" EXIT INT QUIT PIPE
184 echo "hostname; rm" | lxc-attach -n busy > $out 2> $err || true
185 outcontent=$(cat $out)
188 FAIL "echo 'hostname; rm' | lxc-attach -n busy > $out 2> $err"
191 rm -f $out $err