Lines Matching full:echo

26 	echo 1 >/sys/class/firmware/timeout
30 echo "$0: empty filename should not succeed" >&2
35 echo "$0: empty filename: async trigger not present, ignoring test" >&2
39 echo "$0: empty filename should not succeed (async)" >&2
45 if echo -n "nope-$NAME" >"$DIR"/trigger_request 2> /dev/null; then
46 echo "$0: firmware shouldn't have loaded" >&2
50 echo "$0: firmware was not expected to match" >&2
54 echo "$0: timeout works"
60 if ! echo -n "$NAME" >"$DIR"/trigger_request ; then
61 echo "$0: could not trigger request" >&2
67 echo "$0: firmware was not loaded" >&2
70 echo "$0: filesystem loading works"
75 echo "$0: firmware loading: async trigger not present, ignoring test" >&2
78 if ! echo -n "$NAME" >"$DIR"/trigger_async_request ; then
79 echo "$0: could not trigger async request" >&2
85 echo "$0: firmware was not loaded (async)" >&2
88 echo "$0: async filesystem loading works"
94 echo "$0: firmware loading: platform trigger not present, ignoring test" >&2
97 echo "$0: empty filename should not succeed (platform)" >&2
101 # Note we echo a non-existing name, since files on the file-system
105 if ! echo -n "nope-$NAME" >"$DIR"/trigger_request_platform ; then
106 echo "$0: could not trigger request platform" >&2
112 echo "$0: platform loading works"
119 echo "Configuration triggers not present, ignoring test"
132 echo 1 > $DIR/reset
137 echo 1 > $DIR/release_all_firmware
142 echo -n $1 > $DIR/config_name
147 echo 1 > $DIR/config_into_buf
152 echo 0 > $DIR/config_into_buf
157 echo $1 > $DIR/config_buf_size
162 echo $1 > $DIR/config_file_offset
167 echo 1 > $DIR/config_partial
172 echo 0 > $DIR/config_partial
177 echo 1 > $DIR/config_sync_direct
182 echo 0 > $DIR/config_sync_direct
187 echo 1 > $DIR/config_send_uevent
192 echo 0 > $DIR/config_send_uevent
197 echo -n 1 > $DIR/trigger_batched_requests 2>/dev/null
202 echo -n 1 > $DIR/trigger_batched_requests_async 2> /dev/null
207 echo -n $1 > $DIR/config_read_fw_idx 2> /dev/null
227 echo "request #$i: firmware was not loaded" >&2
256 echo "request #$i: partial firmware was not loaded" >&2
268 echo "request $i: file was not expected to match" >&2
276 echo -n "Batched request_firmware() nofile try #$1: "
282 echo "OK"
287 echo -n "Batched request_firmware_into_buf() nofile try #$1: "
294 echo "OK"
299 echo -n "Test request_partial_firmware_into_buf() off=$1 size=$2 nofile: "
309 echo "OK"
314 echo -n "Batched request_firmware_direct() nofile try #$1: "
320 echo "OK"
325 echo -n "Batched request_firmware_nowait(uevent=true) nofile try #$1: "
330 echo "OK"
344 echo "firmware interface never appeared:" >&2
345 echo "$DIR/$name/loading" >&2
349 echo -1 >"$DIR"/"$name"/loading
354 echo -n "Batched request_firmware_nowait(uevent=false) nofile try #$1: "
364 echo "OK"
369 echo -n "Batched request_firmware() $2 try #$1: "
374 echo "OK"
379 echo -n "Batched request_firmware_into_buf() $2 try #$1: "
386 echo "OK"
391 echo -n "Batched request_firmware_direct() $2 try #$1: "
396 echo "OK"
401 echo -n "Batched request_firmware_nowait(uevent=true) $2 try #$1: "
405 echo "OK"
410 echo -n "Batched request_firmware_nowait(uevent=false) $2 try #$1: "
421 echo "OK"
426 echo -n "Test request_partial_firmware_into_buf() off=$1 size=$2: "
436 echo "OK"
470 echo
471 echo "Testing with the file present..."
482 echo
483 echo "Testing with the file missing..."
501 echo
502 echo "Testing with both plain and $COMPRESS_FORMAT files present..."
510 echo
511 echo "Testing with only $COMPRESS_FORMAT file present..."