Skip to content

Commit

Permalink
feat(24.10): add SDF for cpio
Browse files Browse the repository at this point in the history
  • Loading branch information
eunufe committed Jan 7, 2025
1 parent 2f51516 commit 04967a4
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tests/spread/integration/cpio/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ summary: Integration tests for cpio
execute: |
rootfs="$(install-slices cpio_bins)"
echo "testfile" > testfile | \
chroot "${rootfs}/" cpio -ov | \
chroot "${rootfs}/" cpio -iv
rm testfile
chroot "${rootfs}/" cpio --help
chroot "${rootfs}/" mt-gnu --help
mkdir "${rootfs}/foo"
echo "testfile" > "${rootfs}/testfile" | \
chroot "${rootfs}/" cpio -ov | \
chroot "${rootfs}/" cpio -iv -D foo
if [ ! -e "${rootfs}/foo/testfile" ]; then
echo "cpio failed"
exit 1
fi

0 comments on commit 04967a4

Please sign in to comment.