summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-03-11 18:32:37 +0100
committerDave Davenport <qball@gmpclient.org>2015-03-11 18:32:37 +0100
commit4fad02225e836e838ef1f48017a576e73c694edf (patch)
tree2b21950552953472f305305ca9f0dbb3c8b788f9 /test
parentc89a272d4dbe19df90aac3607a466d530853840c (diff)
Cleanup argc/argv lugging around.
Diffstat (limited to 'test')
-rw-r--r--test/helper-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/helper-test.c b/test/helper-test.c
index b8a1061c..1ea9dd4a 100644
--- a/test/helper-test.c
+++ b/test/helper-test.c
@@ -10,9 +10,9 @@ static int test = 0;
assert ( a );\
printf("Test %i passed (%s)\n", ++test, #a);\
}
-
-int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char ** argv )
+int main ( int argc, char ** argv )
{
+ cmd_set_arguments(argc, argv);
char **list = NULL;
int llength = 0;
char * test_str = "{host} {terminal} -e bash -c \"{ssh-client} {host}; echo '{terminal} {host}'\"";