- Timestamp:
- Jun 12, 2010, 8:14:08 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/Parameter.cc
r1085 r1091 114 114 check_readable(config_file_.value()); 115 115 stat(config_file_.value().c_str(), &nodestat); 116 if ( !S_ISREG(nodestat.st_mode)) {116 if (S_ISDIR(nodestat.st_mode)) { 117 117 std::stringstream ss; 118 118 ss << cmd_.program_name() << ": `" << config_file_.value() 119 << "' is not a regular file";119 << "' is a directory"; 120 120 throw yat::utility::cmd_error(ss.str()); 121 121 } -
trunk/test/Makefile.am
r1089 r1091 50 50 51 51 # tests not yet passing are listed here 52 XFAIL_TESTS = config3_test.sh52 XFAIL_TESTS = 53 53 54 54 noinst_HEADERS = Suite.h -
trunk/test/config3_test.sh
r1089 r1091 24 24 set -e 25 25 26 test -e /dev/null 27 test -r /dev/null 26 test -e /dev/null || exit_skip 27 test -r /dev/null || exit_skip 28 28 $SVNDIGEST -g --config-file /dev/null || exit_fail 29 $SVNDIGEST -g --config-file . && exit_fail 29 30 30 31 exit_success
Note: See TracChangeset
for help on using the changeset viewer.