d275a14297f5d9a04c124b8ed6e6880ee0f65345 angie Wed Aug 15 16:44:42 2018 -0700 Removing unused constant. diff --git src/lib/tests/udcTest.c src/lib/tests/udcTest.c index 45ff39d..3df2524 100644 --- src/lib/tests/udcTest.c +++ src/lib/tests/udcTest.c @@ -21,31 +21,30 @@ {"fork", OPTION_BOOLEAN}, {"protocol", OPTION_STRING}, {"seed", OPTION_INT}, {NULL, 0}, }; boolean raBuf = FALSE; /* exercise the read-ahead buffer */ boolean doFork = FALSE; char *protocol = "ftp"; unsigned int seed = 0; int size = 0; // Local copy (reference file) and URL for testing: #define THOUSAND_HIVE "/hive/data/outside/1000genomes/ncbi/ftp-trace.ncbi.nih.gov/1000genomes/" #define THOUSAND_FTP "ftp://ftp-trace.ncbi.nih.gov/1000genomes/ftp/pilot_data/data/" -#define CHR3_SLX_BAM "NA12878/alignment/NA12878.chrom3.SLX.maq.SRP000032.2009_07.bam" #define CHR4_SLX_BAM "NA12878/alignment/NA12878.chrom4.SLX.maq.SRP000032.2009_07.bam" // Use typical size range of bgzip-compressed data blocks: #define MIN_BLK_SIZE 20000 #define MAX_BLK_SIZE 30000 // Read at most this many consecutive blocks: #define MAX_BLOCKS 100 void openSeekRead(char *filename, bits64 offset, bits64 len, char *buf) /* Read len bits starting at offset from filename into buf or die. */ { int fd = mustOpenFd(filename, O_RDONLY); mustLseek(fd, offset, SEEK_SET); mustReadFd(fd, buf, len);