- # In per-pid the last chunk (3) must be empty.
- if [ "${per_pid}" -eq "1" ]; then
- test -z "$(ls -A $local_path/${chunk_pattern}-3/${domain})"
- ok $? "Chunk 3 is empty per-pid mode"
- else
- path=$(ls $local_path/${chunk_pattern}-3/${app_path}/metadata)
- ok $? "Chunk 3 exists based on path $path"
- fi
-