]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Cosmetic cleanup for new test.
authorRoland McGrath <roland@redhat.com>
Thu, 10 Mar 2011 02:21:22 +0000 (18:21 -0800)
committerRoland McGrath <roland@redhat.com>
Thu, 10 Mar 2011 02:21:22 +0000 (18:21 -0800)
tests/rerequest_tag.c
tests/run-rerequest_tag.sh

index b0d2c2c5e9c35340ef312977819653d966361883..bd76731e222744663419839c79fd0f4adfc194bb 100644 (file)
 #include <string.h>
 #include <assert.h>
 
-int main(int argc, char *argv[])
+int
+main (int argc, char **argv)
 {
   assert (argc > 1);
 
-  int i = open(argv[1], O_RDONLY);
+  int i = open (argv[1], O_RDONLY);
   assert (i >= 0);
 
-  Dwarf *dw = dwarf_begin(i, DWARF_C_READ);
+  Dwarf *dw = dwarf_begin (i, DWARF_C_READ);
   assert (dw != NULL);
 
   Dwarf_Die die_mem, *die;
index ad5f767e5b9e6f4a57dfc44961ec42431d77f5ef..1636fbfe1d1b816828cb81cec69149b03945fafb 100755 (executable)
@@ -27,7 +27,6 @@
 
 testfiles testfile56
 
-testrun_compare ./rerequest_tag testfile56 <<\EOF
-EOF
+testrun ./rerequest_tag testfile56
 
 exit 0