diff --git a/test/driver/.gitignore b/test/driver/.gitignore index ca4f1621..bfc01f42 100644 --- a/test/driver/.gitignore +++ b/test/driver/.gitignore @@ -9,6 +9,8 @@ /freebsd /gnu_linux /mmc +/nrg +/nrg.c /osx /realpath /solaris diff --git a/test/driver/bincue.c b/test/driver/bincue.c deleted file mode 100644 index 66089406..00000000 --- a/test/driver/bincue.c +++ /dev/null @@ -1,169 +0,0 @@ -/* -*- C -*- - Copyright (C) 2004, 2006, 2008, 2010 Rocky Bernstein - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ - -/* - Regression test for BIN/CUE device driver: lib/driver/image/bincue.c. -*/ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif -#include -#include - -#ifdef HAVE_STDIO_H -#include -#endif -#ifdef HAVE_SYS_TYPES_H -#include -#endif -#ifdef HAVE_STDLIB_H -#include -#endif -#include - -#ifndef DATA_DIR -#define DATA_DIR "/home/rocky/src/external-vcs/libcdio/test/data" -#endif - -#define NUM_GOOD_CUES 2 -#define NUM_BAD_CUES 7 -int -main(int argc, const char *argv[]) -{ - const char *cue_file[NUM_GOOD_CUES] = { - "cdda.cue", - "isofs-m1.cue", - }; - - const char *badcue_file[NUM_BAD_CUES] = { - "bad-cat1.cue", - "bad-cat2.cue", - "bad-cat3.cue", - "bad-mode1.cue", - "bad-msf-1.cue", - "bad-msf-2.cue", - "bad-msf-3.cue", - }; - int ret=0; - unsigned int i; - char psz_cuefile[500]; - - psz_cuefile[sizeof(psz_cuefile)-1] = '\0'; - cdio_loglevel_default = (argc > 1) ? CDIO_LOG_DEBUG : CDIO_LOG_INFO; - for (i=0; i