From: <ik...@us...> - 2009-01-26 03:47:37
|
Revision: 2691 http://cutter.svn.sourceforge.net/cutter/?rev=2691&view=rev Author: ikezoe Date: 2009-01-26 03:47:31 +0000 (Mon, 26 Jan 2009) Log Message: ----------- * test/cutter/test-cut-path.c, test/fixtures/path/parent/sub/test-deep.c: Use G_DIR_SEPARATOR_S. Modified Paths: -------------- cutter/trunk/ChangeLog cutter/trunk/test/cutter/test-cut-path.c cutter/trunk/test/fixtures/path/parent/sub/test-deep.c Modified: cutter/trunk/ChangeLog =================================================================== --- cutter/trunk/ChangeLog 2009-01-26 03:19:10 UTC (rev 2690) +++ cutter/trunk/ChangeLog 2009-01-26 03:47:31 UTC (rev 2691) @@ -8,6 +8,8 @@ test/gcutter/test-gcut-value-equal.c: Moved. * gcutter/gcut-value-equal.c: Use g_strcmp0 instead g_str_equal to handle NULL. + * test/cutter/test-cut-path.c, + test/fixtures/path/parent/sub/test-deep.c: Use G_DIR_SEPARATOR_S. 2009-01-23 Hiroyuki Ikezoe <poi...@ik...> Modified: cutter/trunk/test/cutter/test-cut-path.c =================================================================== --- cutter/trunk/test/cutter/test-cut-path.c 2009-01-26 03:19:10 UTC (rev 2690) +++ cutter/trunk/test/cutter/test-cut-path.c 2009-01-26 03:47:31 UTC (rev 2691) @@ -59,8 +59,9 @@ "test_fail_in_deep_path", NULL, NULL, - "fail in parent/sub/test-deep.c", - cut_take_printf("%s/parent/sub/test-deep.c:%d", test_dir, 10), + "fail in parent" G_DIR_SEPARATOR_S "sub" G_DIR_SEPARATOR_S "test-deep.c", + cut_take_printf("%s" G_DIR_SEPARATOR_S "parent" G_DIR_SEPARATOR_S "sub" + G_DIR_SEPARATOR_S "test-deep.c:%d", test_dir, 12), "test_fail_in_deep_path"); } Modified: cutter/trunk/test/fixtures/path/parent/sub/test-deep.c =================================================================== --- cutter/trunk/test/fixtures/path/parent/sub/test-deep.c 2009-01-26 03:19:10 UTC (rev 2690) +++ cutter/trunk/test/fixtures/path/parent/sub/test-deep.c 2009-01-26 03:47:31 UTC (rev 2691) @@ -1,13 +1,15 @@ /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include <cutter.h> +#include <glib.h> void test_fail_in_deep_path(void); void test_fail_in_deep_path (void) { - cut_fail("fail in parent/sub/%s", __FILE__); + cut_fail("fail in parent" G_DIR_SEPARATOR_S + "sub" G_DIR_SEPARATOR_S "%s", __FILE__); } /* This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |