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:
parent
57a6cb52e6
commit
70f68209da
@ -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
|
||||
|
BIN
source/aparser/spool_io_printer_driver_info_level_3.prs
Normal file
BIN
source/aparser/spool_io_printer_driver_info_level_3.prs
Normal file
Binary file not shown.
BIN
source/aparser/spool_io_printer_driver_info_level_6.prs
Normal file
BIN
source/aparser/spool_io_printer_driver_info_level_6.prs
Normal file
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
module spool
|
||||
test PRINTER_DRIVER_INFO
|
||||
test PRINTER_DRIVER_INFO_LEVEL_6
|
||||
|
||||
struct PRINTER_DRIVER_INFO_LEVEL_3 {
|
||||
uint32 cversion;
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user