Lines Matching defs:FAIL
48 FAIL() {
56 lxc-create -t busybox -n busy || FAIL "creating busybox container"
57 lxc-start -n busy -d || FAIL "starting busybox container"
58 lxc-wait -n busy -s RUNNING || FAIL "waiting for busybox container to run"
71 attach=$(lxc-attach -n busy -- hostname || FAIL "to allocate or setup pty")
73 FAIL "lxc-attach -n busy -- hostname"
80 attach=$(lxc-attach -n busy -- hostname < /dev/null || FAIL "to allocate or setup pty")
82 FAIL "lxc-attach -n busy -- hostname < /dev/null"
88 attach=$(lxc-attach -n busy -- hostname > /dev/null || FAIL "to allocate or setup pty")
90 FAIL "lxc-attach -n busy -- hostname > /dev/null"
96 attach=$(lxc-attach -n busy -- hostname 2> /dev/null || FAIL "to allocate or setup pty")
98 FAIL "lxc-attach -n busy -- hostname 2> /dev/null < /dev/null"
104 attach=$(lxc-attach -n busy -- hostname 2> /dev/null < /dev/null || FAIL "to allocate or setup pty")
106 FAIL "lxc-attach -n busy -- hostname 2> /dev/null < /dev/null"
117 attach=$( ( lxc-attach -n busy -- sh -c 'hostname >&2' > /dev/null ) 2>&1 || FAIL "to allocate or setup pty")
119 FAIL "lxc-attach -n busy -- sh -c 'hostname >&2' > /dev/null"
129 attach=$( ( lxc-attach -n busy -- sh -c 'hostname >&2' 2> /dev/null ) 2>&1 || FAIL "to allocate or setup pty")
131 FAIL "lxc-attach -n busy -- sh -c 'hostname >&2' 2> /dev/null"
141 FAIL "lxc-attach -n busy -- sh -c 'rm 2>&1' > /dev/null"
151 FAIL "lxc-attach -n busy -- sh -c 'rm 2>&1' 2> /dev/null"
157 attach=$(echo hostname | lxc-attach -n busy -- || FAIL "to allocate or setup pty")
159 FAIL "echo hostname | lxc-attach -n busy --"
168 lxc-attach -n busy -- sh -c 'echo OUT; echo ERR >&2' > $out 2> $err || FAIL "to allocate or setup pty"
172 FAIL "lxc-attach -n busy -- sh -c 'echo OUT; echo ERR >&2' > $out 2> $err"
188 FAIL "echo 'hostname; rm' | lxc-attach -n busy > $out 2> $err"
196 lxc-attach -n busy -L /tmp/ptylog -- hostname || FAIL "to allocate or setup pty"
198 FAIL "lxc-attach -n busy -L /tmp/ptylog -- hostname"