48 lines
1.1 KiB
Text
48 lines
1.1 KiB
Text
NAME=Only EXPECT_ERR<<EOF
|
|
FILE==
|
|
CMDS=<<EOF
|
|
pf?cat_sat_on_keyboard
|
|
pf?CAT_SAT_ON_KEYBOARD
|
|
EOF
|
|
EXPECT_ERR=<<EOF
|
|
ERROR: core: Struct cat_sat_on_keyboard is not defined
|
|
ERROR: core: Struct CAT_SAT_ON_KEYBOARD is not defined
|
|
EOF
|
|
RUN
|
|
|
|
NAME=EXPECT<<EOF empty and EXPECT_ERR<<EOF non-empty
|
|
FILE==
|
|
CMDS=<<EOF
|
|
pf?cat_sat_on_keyboard
|
|
pf?CAT_SAT_ON_KEYBOARD
|
|
EOF
|
|
EXPECT=<<EOF
|
|
EOF
|
|
EXPECT_ERR=<<EOF
|
|
ERROR: core: Struct cat_sat_on_keyboard is not defined
|
|
ERROR: core: Struct CAT_SAT_ON_KEYBOARD is not defined
|
|
EOF
|
|
RUN
|
|
|
|
NAME=BROKEN=0 with comment
|
|
BROKEN=0 # Use BROKEN=0 to unbreak this. Don't remove this line!
|
|
FILE==
|
|
CMDS=?e Test for BROKEN=0
|
|
EXPECT=<<EOF
|
|
Test for BROKEN=0
|
|
EOF
|
|
RUN
|
|
|
|
NAME=bin with space in filename
|
|
FILE=bins/elf/_Exit (42)
|
|
CMDS=i~^file
|
|
ARGS=-e log.level=4
|
|
EXPECT=<<EOF
|
|
file bins/elf/_Exit (42)
|
|
EOF
|
|
EXPECT_ERR=<<EOF
|
|
WARNING: Neither hash nor gnu_hash exist. Falling back to heuristics for deducing the number of dynamic symbols...
|
|
WARNING: Neither hash nor gnu_hash exist. Falling back to heuristics for deducing the number of dynamic symbols...
|
|
WARNING: Neither hash nor gnu_hash exist. Falling back to heuristics for deducing the number of dynamic symbols...
|
|
EOF
|
|
RUN
|