Skip to content

Commit

Permalink
feat(24.10): add SDF for Mawk (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
eunufe authored Jan 10, 2025
1 parent 669c108 commit cf7816c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
15 changes: 15 additions & 0 deletions slices/mawk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package: mawk

essential:
- mawk_copyright

slices:
bins:
essential:
- libc6_libs
contents:
/usr/bin/mawk:

copyright:
contents:
/usr/share/doc/mawk/copyright:
9 changes: 9 additions & 0 deletions tests/spread/integration/mawk/task.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
summary: Integration tests for mawk

execute: |
rootfs="$(install-slices mawk_bins)"
chroot "${rootfs}/" mawk -W version
echo "test" | chroot "${rootfs}/" \
mawk '{ exit ( $1 == "test" ? \
0 : 1 ) }'

0 comments on commit cf7816c

Please sign in to comment.