add a breaking testcase

Original commit message from CVS:
add a breaking testcase
This commit is contained in:
Benjamin Otte 2003-04-16 19:45:55 +00:00
parent b36a2350ba
commit 22a96e5e85
2 changed files with 18 additions and 8 deletions

View file

@ -79,15 +79,13 @@ static gchar *s;
#define PIPELINE6 "pipeline.(name=\"john\" fakesrc num-buffers=4 ( thread. ( ! queue ! identity !{ queue ! fakesink }) ))"
#define PIPELINE7 "fakesrc num-buffers=4 ! tee name=tee .src%d! fakesink tee.src%d ! fakesink fakesink name =\"foo\" tee.src%d ! foo."
#define PIPELINE8 "fakesrc num-buffers=4 ! tee name=tee1 .src0,src1 ! .sink0, sink1 aggregator ! fakesink"
#define PIPELINE9 "fakesrc num-buffers=4 ! test. fakesink name=test"
gint
main (gint argc, gchar *argv[])
{
gst_init (&argc, &argv);
goto here;
here:
/**
* checks:
* - specifying an element works :)
@ -174,6 +172,13 @@ here:
TEST_RUN;
TEST_OK;
/**
* checks:
* - failed in grammar.y cvs version 1.17
*/
TEST_START (PIPELINE9);
TEST_RUN;
TEST_OK;
return 0;
}

View file

@ -79,15 +79,13 @@ static gchar *s;
#define PIPELINE6 "pipeline.(name=\"john\" fakesrc num-buffers=4 ( thread. ( ! queue ! identity !{ queue ! fakesink }) ))"
#define PIPELINE7 "fakesrc num-buffers=4 ! tee name=tee .src%d! fakesink tee.src%d ! fakesink fakesink name =\"foo\" tee.src%d ! foo."
#define PIPELINE8 "fakesrc num-buffers=4 ! tee name=tee1 .src0,src1 ! .sink0, sink1 aggregator ! fakesink"
#define PIPELINE9 "fakesrc num-buffers=4 ! test. fakesink name=test"
gint
main (gint argc, gchar *argv[])
{
gst_init (&argc, &argv);
goto here;
here:
/**
* checks:
* - specifying an element works :)
@ -174,6 +172,13 @@ here:
TEST_RUN;
TEST_OK;
/**
* checks:
* - failed in grammar.y cvs version 1.17
*/
TEST_START (PIPELINE9);
TEST_RUN;
TEST_OK;
return 0;
}