libscpi/test/test_parser.c
@@ -150,7 +150,7 @@ err_buffer_pos = 0; SCPI_RegClearBits(&scpi_context, SCPI_REG_STB, STB_QMA); SCPI_EventClear(&scpi_context); SCPI_RegSet(&scpi_context, SCPI_REG_ESR, 0); SCPI_ErrorClear(&scpi_context); } @@ -257,6 +257,9 @@ TEST_INPUT("*IDN?;*IDN?;*IDN?;*IDN?\r\n", "MA,IN,0,VER;MA,IN,0,VER;MA,IN,0,VER;MA,IN,0,VER\r\n"); output_buffer_clear(); TEST_INPUT("*IDN?;STUB\r\n", "MA,IN,0,VER\r\n"); output_buffer_clear(); TEST_INPUT("*IDN?;*OPC;*IDN?\r\n", "MA,IN,0,VER;MA,IN,0,VER\r\n"); output_buffer_clear();