https://bugzilla.novell.com/show_bug.cgi?id=637680
https://bugzilla.novell.com/show_bug.cgi?id=637680#c12 --- Comment #12 from Miguel de Icaza <[email protected]> 2010-09-10 00:27:57 UTC --- This is my new test for the test suite: // This was the 2.8 showstopper error RESULT test_shell_argv4 () { GError *error; gint argc; gchar **argv; gboolean ret; argv = NULL; argc = 0; error = NULL; ret = g_shell_parse_argv ("'/usr/bin/gnome-terminal' -e \"bash -c 'read -p \\\"Press any key to continue...\\\" -n1;'\"", &argc, &argv, &error); if (!ret) return FAILED ("1. It should return TRUE"); if (argc != 3) return FAILED ("2. argc was %d", argc); if (argv == NULL) return FAILED ("3. argv[0] was NULL"); if (error != NULL) return FAILED ("4. error was set"); if (strcmp (argv [0], "/usr/bin/gnome-terminal")) return FAILED ("5. Expected /usr/bin/gnome-terminal got %s", argv [0]); if (strcmp (argv [1], "-e")) return FAILED ("6. Expected -e, got: %s", argv [1]); if (strcmp (argv [2], "bash -c 'read -p \"Press any key to continue...\" -n1;'")) return FAILED ("7. Got unexpected result: %s\n", argv [2]); return OK; } With the current patch on SVN, it breaks this test: g_shell_parse_argv ("hola \"\n\\'bola\"", &argc, &argv, &error); -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
