t6300: make `%(raw:size) --shell` test more robust