message: [lldb][NFC] Add tests for register command
diff: @@ -475,3 +475,16 @@ class RegisterCommandsTestCase(TestBase):
  if test_16bit_regs:
  self.expect("expr -- $ax == (($ah << 8) | $al)",
  substrs=['true'])
  +
  + @skipIfiOSSimulator
  + @skipIf(archs=no_match(['amd64', 'arm', 'i386', 'x86_64']))
  + @expectedFailureNetBSD
  + def test_invalid_invocation(self):
  + self.build()
  + self.common_setup()
  +
  + self.expect("register read -a arg", error=True,
  + substrs=["the --all option can't be used when registers names are supplied as arguments"])
  +
  + self.expect("register read --set 0 r", error=True,
  + substrs=["the --set <set> option can't be used when registers names are supplied as arguments"])
  