diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-29 01:25:07 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-29 01:25:07 +0000 |
commit | 8879d73ffdb21118db48f2a8c4f67c95000e871a (patch) | |
tree | 00f27f8cf68339822ea7468557d986393c709910 /dln.h | |
parent | 754b3342fe3660a14b90c7514312fcfbb45dcc29 (diff) | |
download | ruby-8879d73ffdb21118db48f2a8c4f67c95000e871a.tar.gz |
test: try File.symlink with invalid paths
* test (have_symlink?): try File.symlink with invalid paths to
test the administrator privilege, nil just raises an
ArgumentError before trying the actual API.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.h')
0 files changed, 0 insertions, 0 deletions