more extension tets

This commit is contained in:
tth 2020-10-12 15:55:06 +02:00
parent 8206a1ac0a
commit 947152532d

View File

@ -456,6 +456,12 @@ printf("%-10s %d\n\n", fname, foo);
foo = format_from_extension(fname="foo.png"); foo = format_from_extension(fname="foo.png");
printf("%-10s %d\n\n", fname, foo); printf("%-10s %d\n\n", fname, foo);
foo = format_from_extension(fname="foo.tiff");
printf("%-10s %d\n\n", fname, foo);
foo = format_from_extension(fname="foo.fits");
printf("%-10s %d\n\n", fname, foo);
foo = format_from_extension(fname="foo.xyzzy"); foo = format_from_extension(fname="foo.xyzzy");
printf("%-10s %d\n\n", fname, foo); printf("%-10s %d\n\n", fname, foo);
@ -688,7 +694,7 @@ if (foo) {
fprintf(stderr, "Essai ====> %d\n", foo); fprintf(stderr, "Essai ====> %d\n", foo);
} }
fprintf(stderr, "++++++++++++++ end of pid %d\n", getpid()); fprintf(stderr, "+++++ end of %s pid %d\n", command, getpid());
return 0; return 0;
} }
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */