From: Joel Rosdahl Date: Fri, 30 Jul 2010 19:50:05 +0000 (+0200) Subject: test: Fix failing dash_E_should_be_unsupported test X-Git-Tag: v3.1~130 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc8efe996bc6d422b03d7a8c129b78dbe5a100f8;p=thirdparty%2Fccache.git test: Fix failing dash_E_should_be_unsupported test --- diff --git a/test/test_argument_processing.c b/test/test_argument_processing.c index a5efe13f5..9e76ae86f 100644 --- a/test/test_argument_processing.c +++ b/test/test_argument_processing.c @@ -31,6 +31,7 @@ TEST(dash_E_should_be_unsupported) struct args *orig = args_init_from_string("cc -c foo.c -E"); struct args *preprocessed, *compiler; + create_file("foo.c", ""); CHECK(!cc_process_args(orig, &preprocessed, &compiler)); CHECK_UNS_EQ(1, stats_get_pending(STATS_UNSUPPORTED));