Skip to content

Commit

Permalink
Add explicit GetStatus() test
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed May 30, 2013
1 parent f2e117c commit 7918f84
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -98,6 +98,13 @@ class TestMythSystem: public QObject
QVERIFY(cmd.Wait() == 200);
}

void getstatus_returns_exit_code(void)
{
MythSystem cmd("exit 200", kMSNone | kMSRunShell);
Go(cmd);
QVERIFY(cmd.GetStatus() == 200);
}

// TODO kMSDontBlockInputDevs -- avoid blocking LIRC & Joystick Menu
// TODO kMSDontDisableDrawing -- avoid disabling UI drawing

Expand Down

0 comments on commit 7918f84

Please sign in to comment.