Skip to content

Update documentation #157

Update documentation

Update documentation #157

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: vmactions/freebsd-vm@v1
with:
copyback: false
release: "13.3"
usesh: true
prepare: |
pkg install -y expect
run: |
set -o errexit
set -o xtrace
make install
cat >/usr/local/etc/rc.motd <<EOF
echo "${GITHUB_SHA}"
EOF
service dynamic_motd onestart
trap 'service dynamic_motd stop' EXIT
expect <<EOF
spawn cat /var/run/motd
expect "${GITHUB_SHA}\r\n"
expect eof
set result [expr {\$expect_out(buffer) == ""}]
puts [expr {\$result ? "PASSED" : "FAILED"}]
exit [expr {\$result == 0}]
EOF