Page MenuHomeFreeBSD

hastd: Add rudimentary tests
ClosedPublic

Authored by des on Thu, Sep 3, 3:19 PM.
Tags
None
Referenced Files
F170851204: D59345.diff
Mon, Sep 7, 1:13 AM
F170827681: D59345.diff
Sun, Sep 6, 9:21 PM
F170821260: D59345.id185931.diff
Sun, Sep 6, 8:29 PM
F170805029: D59345.id185851.diff
Sun, Sep 6, 6:08 PM
Unknown Object (File)
Sat, Sep 5, 6:36 PM
Unknown Object (File)
Sat, Sep 5, 2:34 AM
Unknown Object (File)
Sat, Sep 5, 2:06 AM
Unknown Object (File)
Fri, Sep 4, 8:45 AM
Subscribers

Details

Summary

Test that we can start and stop hastd with an empty configuration.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76428
Build 73311: arc lint + arc unit

Event Timeline

des requested review of this revision.Thu, Sep 3, 3:19 PM
kevans added inline comments.
sbin/hastd/tests/hastd_test.sh
29

I suspect you want to truncate/remove the pid file in the body after stop, otherwise we're signalling a stale pid that hopefully wouldn't have been reused.

This revision is now accepted and ready to land.Fri, Sep 4, 6:11 PM
This revision now requires review to proceed.Fri, Sep 4, 6:42 PM
This revision is now accepted and ready to land.Fri, Sep 4, 6:50 PM
This revision was automatically updated to reflect the committed changes.