Lines Matching full:echo
23 echo 1 >/sys/class/firmware/timeout
27 echo "$0: empty filename should not succeed" >&2
32 echo "$0: empty filename: async trigger not present, ignoring test" >&2
36 echo "$0: empty filename should not succeed (async)" >&2
42 if echo -n "nope-$NAME" >"$DIR"/trigger_request 2> /dev/null; then
43 echo "$0: firmware shouldn't have loaded" >&2
47 echo "$0: firmware was not expected to match" >&2
51 echo "$0: timeout works"
57 if ! echo -n "$NAME" >"$DIR"/trigger_request ; then
58 echo "$0: could not trigger request" >&2
64 echo "$0: firmware was not loaded" >&2
67 echo "$0: filesystem loading works"
72 echo "$0: firmware loading: async trigger not present, ignoring test" >&2
75 if ! echo -n "$NAME" >"$DIR"/trigger_async_request ; then
76 echo "$0: could not trigger async request" >&2
82 echo "$0: firmware was not loaded (async)" >&2
85 echo "$0: async filesystem loading works"
91 echo "$0: firmware loading: platform trigger not present, ignoring test" >&2
94 echo "$0: empty filename should not succeed (platform)" >&2
98 # Note we echo a non-existing name, since files on the file-system
102 if ! echo -n "nope-$NAME" >"$DIR"/trigger_request_platform ; then
103 echo "$0: could not trigger request platform" >&2
109 echo "$0: platform loading works"
116 echo "Configuration triggers not present, ignoring test"
129 echo 1 > $DIR/reset
134 echo 1 > $DIR/release_all_firmware
139 echo -n $1 > $DIR/config_name
144 echo 1 > $DIR/config_into_buf
149 echo 0 > $DIR/config_into_buf
154 echo $1 > $DIR/config_buf_size
159 echo $1 > $DIR/config_file_offset
164 echo 1 > $DIR/config_partial
169 echo 0 > $DIR/config_partial
174 echo 1 > $DIR/config_sync_direct
179 echo 0 > $DIR/config_sync_direct
184 echo 1 > $DIR/config_send_uevent
189 echo 0 > $DIR/config_send_uevent
194 echo -n 1 > $DIR/trigger_batched_requests 2>/dev/null
199 echo -n 1 > $DIR/trigger_batched_requests_async 2> /dev/null
204 echo -n $1 > $DIR/config_read_fw_idx 2> /dev/null
224 echo "request #$i: firmware was not loaded" >&2
253 echo "request #$i: partial firmware was not loaded" >&2
265 echo "request $i: file was not expected to match" >&2
273 echo -n "Batched request_firmware() nofile try #$1: "
279 echo "OK"
284 echo -n "Batched request_firmware_into_buf() nofile try #$1: "
291 echo "OK"
296 echo -n "Test request_partial_firmware_into_buf() off=$1 size=$2 nofile: "
306 echo "OK"
311 echo -n "Batched request_firmware_direct() nofile try #$1: "
317 echo "OK"
322 echo -n "Batched request_firmware_nowait(uevent=true) nofile try #$1: "
327 echo "OK"
341 echo "firmware interface never appeared:" >&2
342 echo "$DIR/$name/loading" >&2
346 echo -1 >"$DIR"/"$name"/loading
351 echo -n "Batched request_firmware_nowait(uevent=false) nofile try #$1: "
361 echo "OK"
366 echo -n "Batched request_firmware() $2 try #$1: "
371 echo "OK"
376 echo -n "Batched request_firmware_into_buf() $2 try #$1: "
383 echo "OK"
388 echo -n "Batched request_firmware_direct() $2 try #$1: "
393 echo "OK"
398 echo -n "Batched request_firmware_nowait(uevent=true) $2 try #$1: "
402 echo "OK"
407 echo -n "Batched request_firmware_nowait(uevent=false) $2 try #$1: "
420 echo "OK"
425 echo -n "Test request_partial_firmware_into_buf() off=$1 size=$2: "
435 echo "OK"
443 echo
444 echo "Testing with the file present..."
473 echo
474 echo "Testing with the file missing..."
506 echo
507 echo "Testing with both plain and xz files present..."
530 echo
531 echo "Testing with only xz file present..."