38 lines
1.3 KiB
YAML
38 lines
1.3 KiB
YAML
schema: 1
|
|
card: console-bash/L01
|
|
title: BusyBox — the Swiss Army Knife
|
|
steps:
|
|
- id: multicall
|
|
task: task01_multicall_dispatch
|
|
action: test
|
|
profile: native-amd64
|
|
target: native
|
|
command: stemctl test native-amd64 console-bash L01 1
|
|
board:
|
|
show: [binary_name, argv_0, first_argument, applet_list, symlink]
|
|
highlight: [single_binary, dispatch, explicit_fixture]
|
|
question: Skąd program wie, który applet ma uruchomić?
|
|
evidence: [applet_count, argument_dispatch, symlink_dispatch, backend]
|
|
- id: files-text
|
|
task: task02_files_and_text
|
|
action: test
|
|
profile: native-amd64
|
|
target: native
|
|
command: stemctl test native-amd64 console-bash L01 2
|
|
board:
|
|
show: [input_file, cat_output, contains_status, line_count]
|
|
highlight: [stdin_stdout, exit_status, pipeline]
|
|
question: Który wynik jest tekstem, a który kodem zakończenia?
|
|
evidence: [lines, match, bytes]
|
|
- id: process-host
|
|
task: task03_process_and_host
|
|
action: debug
|
|
profile: native-amd64
|
|
target: native
|
|
command: stemctl debug native-amd64 console-bash L01 3
|
|
board:
|
|
show: [hostname, pid, trace_log]
|
|
highlight: [process_identity, host_identity]
|
|
question: Dlaczego PID zmienia się między uruchomieniami?
|
|
evidence: [hostname_nonempty, pid_positive, trace_log]
|