mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
GApplication: fix bogus testcase
We had a GApplication testcase that handled both open and commandline. This only way that this worked was by implementing the commandline handler without actually setting the HANDLES_COMMAND_LINE flag. This behaviour is now invalid, so just rip out the offending part of the test. https://bugzilla.gnome.org/show_bug.cgi?id=711099
This commit is contained in:
@@ -107,7 +107,6 @@ basic (void)
|
||||
/* spawn the master */
|
||||
spawn ("activated\n"
|
||||
"open file:///a file:///b\n"
|
||||
"cmdline '40 +' '2'\n"
|
||||
"exit status: 0\n",
|
||||
"./app", NULL);
|
||||
|
||||
@@ -115,10 +114,6 @@ basic (void)
|
||||
spawn ("exit status: 0\n",
|
||||
"./app", "/a", "/b", NULL);
|
||||
|
||||
spawn ("40 + 2 = 42\n"
|
||||
"exit status: 42\n",
|
||||
"./cmd", "40 +", "2", NULL);
|
||||
|
||||
g_main_loop_run (main_loop);
|
||||
|
||||
g_object_unref (c);
|
||||
|
Reference in New Issue
Block a user