SHTK_UNITTEST_EXPECT_COMMAND(3)
SHTK_UNITTEST_EXPECT_COMMAND(3) Library Functions Manual SHTK_UNITTEST_EXPECT_COMMAND(3)

shtk_unittest_expect_commandRuns a command and validates its exit status and output

shtk_import unittest

shtk_unittest_expect_command name

The shtk_unittest_expect_command function is the non-fatal counterpart of shtk_unittest_assert_command(3). See the documentation of this other function for details.

shtk(3), shtk_unittest(3)

shtk_unittest_expect_command first appeared in shtk 1.6.

November 8, 2014 Debian