Skip to content

Commit

Permalink
Merge branch 'ubuntu-24.04' into zstd_noble
Browse files Browse the repository at this point in the history
  • Loading branch information
eunufe authored Feb 17, 2025
2 parents 9b1cb33 + 854fa47 commit c5a418d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
16 changes: 16 additions & 0 deletions slices/netcat-openbsd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package: netcat-openbsd

essential:
- netcat-openbsd_copyright

slices:
bins:
essential:
- libbsd0_libs
- libc6_libs
contents:
/bin/nc.openbsd:

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

execute: |
rootfs="$(install-slices netcat-openbsd_bins)"
chroot "${rootfs}/" nc.openbsd -h
chroot "${rootfs}/" nc.openbsd -l 1234 >testfile &
echo "Hello World" | chroot "${rootfs}/" nc.openbsd -q 1 -w 1 127.0.0.1 1234
test "$(cat testfile)" = "Hello World"

0 comments on commit c5a418d

Please sign in to comment.