summaryrefslogtreecommitdiff
path: root/libparted/tests/label.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-06-05 09:23:51 +0200
committerJim Meyering <meyering@redhat.com>2008-06-05 09:23:51 +0200
commit61ca18819ebe630f48564575a796ebcfac5ea957 (patch)
tree4ebc329c4b23367fd2070ef661fda25ff1abf4b8 /libparted/tests/label.c
parent8d0af5e95b8d4beb947bda15f232085b1d6f3cbb (diff)
downloadparted-61ca18819ebe630f48564575a796ebcfac5ea957.tar.gz
use gnulib's progname module
* bootstrap.conf (gnulib_modules): Add progname. * debug/clearfat/clearfat.c: Include "progname.h". (main): Call set_program_name rather than setting program_name. * parted/parted.c: Likewise. * partprobe/partprobe.c: Likewise. * libparted/tests/disk.c: Include "progname.h" and call set_program_name even though program_name isn't used, yet. * libparted/tests/label.c: Likewise.
Diffstat (limited to 'libparted/tests/label.c')
-rw-r--r--libparted/tests/label.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libparted/tests/label.c b/libparted/tests/label.c
index 54f40c3..aa825f9 100644
--- a/libparted/tests/label.c
+++ b/libparted/tests/label.c
@@ -6,6 +6,7 @@
#include <parted/parted.h>
#include "common.h"
+#include "progname.h"
static char* temporary_disk;
@@ -149,6 +150,7 @@ END_TEST
int
main (void)
{
+ set_program_name (argv[0]);
int number_failed;
Suite* suite = suite_create ("Disk Label");
TCase* tcase_basic = tcase_create ("Create");