Lines Matching refs:output
30 output="$(perf trace --sort-events -e renameat* --max-events=1 -- mv ${file1} ${file2} 2>&1)"
31 if ! echo "$output" | grep -q -E "^mv/[0-9]+ renameat(2)?\(.*, \"${file1}\", .*, \"${file2}\", .*\) += +[0-9]+$"
33 printf "String augmentation test failed, output:\n$output\n"
41 output="$(perf trace --sort-events -e write --max-events=1 -- echo "${buffer}" 2>&1)"
42 if ! echo "$output" | grep -q -E "^echo/[0-9]+ write\([0-9]+, ${buffer}.*, [0-9]+\) += +[0-9]+$"
44 printf "Buffer augmentation test failed, output:\n$output\n"
51 output="$(perf trace --sort-events -e clock_nanosleep --force-btf --max-events=1 -- sleep 1 2>&1)"
52 if ! echo "$output" | grep -q -E "^sleep/[0-9]+ clock_nanosleep\(0, 0, \{1,.*\}, 0x[0-9a-f]+\) += +[0-9]+$"
54 printf "BTF struct augmentation test failed, output:\n$output\n"