summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2011-03-09 18:21:22 -0800
committerRoland McGrath <roland@redhat.com>2011-03-09 18:21:22 -0800
commita70791179e61789e5108b3c68bae1d976da7be17 (patch)
tree776b7c64a2592dcb9c456bbe0b7a54579569e978
parent02c561914caceb41c36a3eecd01114d8d33ec1f9 (diff)
downloadelfutils-a70791179e61789e5108b3c68bae1d976da7be17.tar.gz
Cosmetic cleanup for new test.
-rw-r--r--tests/rerequest_tag.c7
-rwxr-xr-xtests/run-rerequest_tag.sh3
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/rerequest_tag.c b/tests/rerequest_tag.c
index b0d2c2c5..bd76731e 100644
--- a/tests/rerequest_tag.c
+++ b/tests/rerequest_tag.c
@@ -30,14 +30,15 @@
#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;
diff --git a/tests/run-rerequest_tag.sh b/tests/run-rerequest_tag.sh
index ad5f767e..1636fbfe 100755
--- a/tests/run-rerequest_tag.sh
+++ b/tests/run-rerequest_tag.sh
@@ -27,7 +27,6 @@
testfiles testfile56
-testrun_compare ./rerequest_tag testfile56 <<\EOF
-EOF
+testrun ./rerequest_tag testfile56
exit 0