1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

renamed the harness program to vluke (for "virtual luke")

added a couple of sample .prs files
This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent 57a6cb52e6
commit 70f68209da
5 changed files with 8 additions and 8 deletions

View File

@ -4,17 +4,17 @@ CC=gcc
%.h : %.struct
igawk -f parser.awk < $*.struct > $*.h
OBJ = harness.o parser.o
OBJ = vluke.o parser.o
all: test.h harness
all: test.h vluke
test.h : test.struct
harness: test.h $(OBJ)
$(CC) $(CFLAGS) -o harness $(OBJ)
vluke: test.h $(OBJ)
$(CC) $(CFLAGS) -o vluke $(OBJ)
clean:
rm -f *.o test.h
test: harness
./harness test.dat > test.out
test: vluke
./vluke test.dat > test.out

View File

@ -1,5 +1,5 @@
module spool
test PRINTER_DRIVER_INFO
test PRINTER_DRIVER_INFO_LEVEL_6
struct PRINTER_DRIVER_INFO_LEVEL_3 {
uint32 cversion;

View File

@ -19,7 +19,7 @@ int main(int argc, char *argv[])
prs_struct ps;
if (argc < 2) {
printf("usage: harness <file>\n");
printf("usage: vluke <file>\n");
exit(1);
}