1 2 3 4 5
set test "Test run as normal user" exec "/usr/sbin/sosreport" expect { -re "root" { pass $test } }