# In a per-pid setup, only the first chunk is a valid trace, the other
# chunks should be empty folders
if test $per_pid = 1; then
- validate_trace_empty $local_path/${chunk_pattern}-1
- nr=$(ls $local_path/${chunk_pattern}-2/ust | wc -l)
+ validate_trace_empty $local_path/${chunk_pattern}-0
+ nr=$(ls $local_path/${chunk_pattern}-1/ | wc -l)
test $nr = 0
ok $? "Chunk 2 is empty"
- nr=$(ls $local_path/${chunk_pattern}-3/ust | wc -l)
+ nr=$(ls $local_path/${chunk_pattern}-2/ | wc -l)
test $nr = 0
ok $? "Chunk 3 is empty"
else