-// Copyright (C) 2011-2016 Joel Rosdahl
+// Copyright (C) 2011-2018 Joel Rosdahl
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
char *data;
create_file("ccache.conf", "path = vanilla\n");
- CHECK(conf_set_value_in_file("ccache.conf", "stats", "chocolate", &errmsg));
+ CHECKM(conf_set_value_in_file("ccache.conf", "stats", "chocolate", &errmsg),
+ errmsg);
data = read_text_file("ccache.conf", 0);
CHECK(data);
CHECK_STR_EQ_FREE2("path = vanilla\nstats = chocolate\n", data);
char *data;
create_file("ccache.conf", "path = chocolate\nstats = chocolate\n");
- CHECK(conf_set_value_in_file("ccache.conf", "path", "vanilla", &errmsg));
+ CHECKM(conf_set_value_in_file("ccache.conf", "path", "vanilla", &errmsg),
+ errmsg);
data = read_text_file("ccache.conf", 0);
CHECK(data);
CHECK_STR_EQ_FREE2("path = vanilla\nstats = chocolate\n", data);