.editorconfig: Fix sane-desc tool to match cleaned up references

Changes to the test reference files should not, famous last words ;-),
have any effect on the use of the tool's actual outputs.

Note that the tests use a "concocted" `testfile.desc` as their input.
merge-requests/1/head
Olaf Meeuwissen 2017-05-30 22:39:30 +09:00
rodzic fc4b250a09
commit 01c5dbc82b
1 zmienionych plików z 20 dodań i 20 usunięć

Wyświetl plik

@ -3451,7 +3451,7 @@ print_db (void)
name = name->next; name = name->next;
} }
printf ("\n"); printf ("\n");
printf ("%s\t%s\t%s:%s\t%s\t\n", usbid->usb_vendor_id, printf ("%s\t%s\t%s:%s\t%s\n", usbid->usb_vendor_id,
usbid->usb_product_id, DEVOWNER, DEVGROUP, DEVMODE); usbid->usb_product_id, DEVOWNER, DEVGROUP, DEVMODE);
usbid = usbid->next; usbid = usbid->next;
} }
@ -3783,7 +3783,7 @@ print_hwdb_header (void)
"#\n" "#\n"
"# If the scanner is supported by sane-backends, please mail the entry to\n" "# If the scanner is supported by sane-backends, please mail the entry to\n"
"# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).\n" "# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).\n"
"#\n" "#"
); );
} }
@ -3802,7 +3802,7 @@ print_hwdb (void)
manufacturer_model_type * name = usbid->name; manufacturer_model_type * name = usbid->name;
i = 0; i = 0;
printf ("# "); printf ("\n# ");
while (name) while (name)
{ {
if ((name != usbid->name) && (i > 0)) if ((name != usbid->name) && (i > 0))
@ -3833,7 +3833,7 @@ print_hwdb (void)
product_id[j] = toupper(product_id[j]); product_id[j] = toupper(product_id[j]);
} }
printf ("usb:v%sp%s*\n libsane_matched=yes\n\n", printf ("usb:v%sp%s*\n libsane_matched=yes\n",
vendor_id, product_id); vendor_id, product_id);
free(vendor_id); free(vendor_id);