Disable some iso9660 tests when TM_GMTOFF is not available
This commit is contained in:
parent
de3e47f1b7
commit
5908486078
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
$Id: testiso9660.c,v 1.23 2008/06/03 08:40:15 rocky Exp $
|
||||
|
||||
Copyright (C) 2003, 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
|
||||
Copyright (C) 2003, 2006, 2007, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||
|
||||
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
|
||||
@@ -244,6 +244,7 @@ main (int argc, const char *argv[])
|
||||
p_tm = localtime(&now);
|
||||
iso9660_set_dtime(p_tm, &dtime);
|
||||
iso9660_get_dtime(&dtime, true, &tm);
|
||||
#ifdef HAVE_TM_GMTOFF
|
||||
if ( !time_compare(p_tm, &tm) ) {
|
||||
return 41;
|
||||
}
|
||||
@@ -259,6 +260,7 @@ main (int argc, const char *argv[])
|
||||
printf("set with iso9660_set_dtime().\n");
|
||||
return 43;
|
||||
}
|
||||
#endif
|
||||
|
||||
{
|
||||
p_tm = localtime(&now);
|
||||
|
||||
Reference in New Issue
Block a user