Skip to content

Commit

Permalink
fix: try thi
Browse files Browse the repository at this point in the history
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
  • Loading branch information
rchincha committed Jul 29, 2024
1 parent 10ce5d1 commit d3fb761
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/whiteout.bats
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ EOF
echo "skipping $f"
continue
}
bsdtar -tvf oci/blobs/sha256/$f | grep '.wh.sensors.d' && {
echo "should not have a sensors.d whiteout!"
exit 1
}
bsdtar -tvf oci/blobs/sha256/$f
run "bsdtar -tvf oci/blobs/sha256/$f | grep '.wh.sensors.d'"
if [ "$status" -eq 0 ]; then
echo "should not have a sensors.d whiteout!";
exit 1;
fi
done
}

Expand Down

0 comments on commit d3fb761

Please sign in to comment.