2017-10-21 18:40:19 -05:00
|
|
|
/* Special Conformance Test 23.2.0.1: Verification of commandline */
|
|
|
|
/* */
|
|
|
|
/* Other files needed: spc23.201.exec - EXEC file which compiles, */
|
|
|
|
/* links, and executes test */
|
|
|
|
/* file with parameters */
|
|
|
|
|
|
|
|
#include <orca.h>
|
2022-10-17 17:50:42 -05:00
|
|
|
#include <string.h>
|
2017-10-21 18:40:19 -05:00
|
|
|
|
2022-10-17 17:50:42 -05:00
|
|
|
int printf(const char *, ...);
|
|
|
|
|
|
|
|
int main (void)
|
2017-10-21 18:40:19 -05:00
|
|
|
{
|
|
|
|
char *cmdLine;
|
|
|
|
|
|
|
|
cmdLine = commandline ();
|
|
|
|
if (strcmp (cmdLine, "3/spc23.2 one two three four"))
|
|
|
|
goto Fail;
|
|
|
|
|
|
|
|
printf ("Passed Special Conformance Test 23.2.0.1\n");
|
2022-10-17 17:50:42 -05:00
|
|
|
return 0;
|
2017-10-21 18:40:19 -05:00
|
|
|
|
|
|
|
Fail:
|
|
|
|
printf ("Failed Special Conformance Test 23.2.0.1\n");
|
|
|
|
}
|