Write to all FATs, not just the first one.
[AROS.git] / test / clib / stpblk.c
blobf57f50fbfb4f272fddf2d75afb7d04dbe8e831e3
1 #include <stdio.h>
2 #include <string.h>
3 #include "test.h"
5 int main()
7 char *hello = " Hello";
8 char *empty = " ";
10 TEST( strcmp( "Hello", stpblk( hello ) ) == 0 );
11 TEST( strcmp( "", stpblk( empty ) ) == 0 );
12 TEST( strlen( stpblk( hello ) ) == 5 );
13 TEST( strlen( stpblk( empty ) ) == 0 );
15 return OK;
18 void cleanup()
20 /* Nothing to clean up */