Searched refs:tempdir (Results 1 - 25 of 71) sorted by relevance

123

/macosx-10.9.5/ruby-104/ruby/test/rubygems/
H A Dtest_gem_path_support.rb9 ENV["GEM_HOME"] = @tempdir
10 ENV["GEM_PATH"] = [@tempdir, "something"].join(File::PATH_SEPARATOR)
23 ps = Gem::PathSupport.new "GEM_HOME" => "#{@tempdir}/foo"
25 assert_equal File.join(@tempdir, "foo"), ps.home
27 expected = util_path + [File.join(@tempdir, 'foo')]
33 alternate = @tempdir.gsub(File::SEPARATOR, File::ALT_SEPARATOR)
36 assert_equal @tempdir, ps.home, "normalize values"
41 ps = Gem::PathSupport.new "GEM_PATH" => %W[#{@tempdir}/foo #{@tempdir}/bar]
46 File.join(@tempdir, 'fo
[all...]
H A Dtest_gem_commands_fetch_command.rb21 refute_path_exists File.join(@tempdir, 'cache'), 'sanity check'
26 Dir.chdir @tempdir do
31 assert_path_exists(File.join(@tempdir, @a2.file_name),
33 refute_path_exists File.join(@tempdir, 'cache'),
46 refute_path_exists File.join(@tempdir, 'cache'), 'sanity check'
52 Dir.chdir @tempdir do
57 assert_path_exists(File.join(@tempdir, @a2.file_name),
59 refute_path_exists File.join(@tempdir, 'cache'),
77 Dir.chdir @tempdir do
82 assert_path_exists(File.join(@tempdir,
[all...]
H A Dtest_gem_commands_unpack_command.rb9 Dir.chdir @tempdir do
60 Dir.chdir @tempdir do
65 assert File.exist?(File.join(@tempdir, 'a-3.a')), 'a should be unpacked'
66 assert File.exist?(File.join(@tempdir, 'b-2')), 'b should be unpacked'
75 gemhome2 = File.join @tempdir, 'gemhome2'
82 Dir.chdir @tempdir do
87 assert File.exist?(File.join(@tempdir, 'a-3.a'))
96 gemhome2 = File.join @tempdir, 'gemhome2'
103 Dir.chdir @tempdir do
128 Dir.chdir @tempdir d
[all...]
H A Dtest_gem_source_local.rb16 FileUtils.mv @a_gem, @tempdir
17 FileUtils.mv @ap_gem, @tempdir
18 FileUtils.mv @b_gem, @tempdir
33 FileUtils.mv a2_gem, @tempdir
45 FileUtils.mv a2_gem, @tempdir
52 FileUtils.mv a2_gem, @tempdir
H A Dtest_gem_indexer.rb27 @tempdir = File.join(@tempdir, 'indexer')
29 gems = File.join(@tempdir, 'gems')
33 @indexer = Gem::Indexer.new(@tempdir)
37 assert_equal @tempdir, @indexer.dest_directory
41 indexer = Gem::Indexer.new @tempdir
44 indexer = Gem::Indexer.new @tempdir, :build_modern => true
93 quickdir = File.join @tempdir, 'quick'
104 assert_indexed @tempdir, "specs.#{@marshal_version}"
105 assert_indexed @tempdir, "spec
[all...]
H A Dtest_gem_dependency_installer.rb10 @gems_dir = File.join @tempdir, 'gems'
96 FileUtils.mv @a1_gem, @tempdir
99 Dir.chdir @tempdir do
173 FileUtils.mv @a1_gem, @tempdir
174 FileUtils.mv @b1_gem, @tempdir
175 FileUtils.mv e1_gem, @tempdir
178 Dir.chdir @tempdir do
183 Dir.chdir @tempdir do
200 FileUtils.mv @a1_gem, @tempdir
201 FileUtils.mv @b1_gem, @tempdir
[all...]
H A Dtest_gem_ext_builder.rb9 @ext = File.join @tempdir, 'ext'
10 @dest_path = File.join @tempdir, 'prefix'
H A Dtest_gem_gem_runner.rb21 temp_conf = File.join @tempdir, '.gemrc'
23 other_gem_path = File.join @tempdir, 'other_gem_path'
24 other_gem_home = File.join @tempdir, 'other_gem_home'
H A Dtest_gem_commands_build_command.rb18 gemspec_file = File.join(@tempdir, @gem.spec_name)
30 gemspec_file = File.join(@tempdir, @gem.spec_name)
69 Dir.chdir @tempdir do
85 gem_file = File.join @tempdir, File.basename(gem.cache_file)
95 gemspec_file = File.join(@tempdir, @gem.spec_name)
H A Dtest_gem_request_set.rb63 installed = rs.install_into @tempdir
65 assert File.exists?(File.join(@tempdir, "specifications", "a-1.gemspec"))
66 assert File.exists?(File.join(@tempdir, "specifications", "b-1.gemspec"))
H A Dtest_gem_ext_configure_builder.rb11 @ext = File.join @tempdir, 'ext'
12 @dest_path = File.join @tempdir, 'prefix'
H A Dtest_gem_ext_rake_builder.rb8 @ext = File.join @tempdir, 'ext'
9 @dest_path = File.join @tempdir, 'prefix'
H A Dtest_gem_commands_pristine_command.rb17 write_file File.join(@tempdir, 'lib', 'a.rb') do |fp|
20 write_file File.join(@tempdir, 'bin', 'foo') do |fp|
55 write_file File.join(@tempdir, 'bin', 'foo') do |fp|
86 ext_path = File.join @tempdir, 'ext', 'a', 'extconf.rb'
111 ext_path = File.join @tempdir, 'ext', 'a', 'extconf.rb'
166 gemhome2 = File.join @tempdir, 'gemhome2'
250 write_file File.join(@tempdir, 'lib', 'a.rb') do |fp|
253 write_file File.join(@tempdir, 'bin', 'foo') do |fp|
H A Dtest_gem_ext_cmake_builder.rb13 @ext = File.join @tempdir, 'ext'
14 @dest_path = File.join @tempdir, 'prefix'
/macosx-10.9.5/emacs-92/emacs/
H A Dmake-dist280 tempdir="${tempparent}/${emacsname}"
288 echo "Creating top directory: \`${tempdir}'"
289 mkdir ${tempdir}
296 ln AUTHORS FTP INSTALL README BUGS CONTRIBUTE move-if-change ${tempdir}
297 ln ChangeLog Makefile.in configure configure.in ${tempdir}
298 ln config.bat make-dist update-subdirs vpath.sed ${tempdir}
300 cp mkinstalldirs ${tempdir}
301 cp config.sub ${tempdir}
302 cp config.guess ${tempdir}
303 cp install-sh ${tempdir}
[all...]
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/test/
H A Dtesttemp.c23 const char *tempdir = NULL; local
26 rv = apr_temp_dir_get(&tempdir, p);
28 ABTS_PTR_NOTNULL(tc, tempdir);
34 const char *tempdir = NULL; local
38 rv = apr_temp_dir_get(&tempdir, p);
41 filetemplate = apr_pstrcat(p, tempdir, "/tempfileXXXXXX", NULL);
/macosx-10.9.5/apr-30/apr/apr/test/
H A Dtesttemp.c23 const char *tempdir = NULL; local
26 rv = apr_temp_dir_get(&tempdir, p);
28 ABTS_PTR_NOTNULL(tc, tempdir);
34 const char *tempdir = NULL; local
38 rv = apr_temp_dir_get(&tempdir, p);
41 filetemplate = apr_pstrcat(p, tempdir, "/tempfileXXXXXX", NULL);
/macosx-10.9.5/CPANInternal-140/DBIx-Class/t/lib/DBICTest/Schema/
H A DFileColumn.pm7 use File::Temp qw/tempdir/;
18 file_column_path => tempdir(CLEANUP => 1),
/macosx-10.9.5/curl-78.94.1/curl/src/
H A Dtool_dirhie.c96 char *tempdir; local
115 tempdir = strtok(outdup, DIR_CHAR);
117 while(tempdir != NULL) {
124 snprintf(&dirbuildup[dlen], outlen - dlen, "%s%s", DIR_CHAR, tempdir);
127 strcpy(dirbuildup, tempdir);
129 snprintf(dirbuildup, outlen, "%s%s", DIR_CHAR, tempdir);
139 tempdir = tempdir2;
/macosx-10.9.5/postfix-252/postfix/
H A Dpostfix-install81 # .IP tempdir
242 rm -f $tempdir/junk || exit 1
243 cp $src $tempdir/junk || exit 1
244 mv -f $tempdir/junk $dst || exit 1
254 rm -f $tempdir/junk || exit 1
271 # ln -s $link $tempdir/junk || exit 1
272 # mv -f $tempdir/junk $2 || {
275 # echo or choose a tempdir that is in the same file system as $2. 1>&2
368 : ${tempdir=`pwd`}
373 test -z "$non_interactive" && for name in install_root tempdir config_director
[all...]
/macosx-10.9.5/curl-78.94.1/curl/
H A Dmaketgz162 rm -rf $tempdir
163 mkdir $tempdir
164 cd $tempdir
169 rm -rf $tempdir
174 tempdir=".builddir"
/macosx-10.9.5/ruby-104/ruby/test/rdoc/
H A Dtest_rdoc_ri_paths.rb10 @tempdir = File.join Dir.tmpdir, "test_rdoc_ri_paths_#{$$}"
11 Gem.use_paths @tempdir
12 Gem.ensure_gem_subdirectories @tempdir
41 FileUtils.rm_rf @tempdir
60 Dir.chdir @tempdir do
73 Dir.chdir @tempdir do
86 Dir.chdir @tempdir do
/macosx-10.9.5/ruby-104/ruby/lib/webrick/httpservlet/
H A Dcgihandler.rb37 @tempdir = server[:TempDir]
48 cgi_out = Tempfile.new("webrick.cgiout.", @tempdir, mode: IO::BINARY)
50 cgi_err = Tempfile.new("webrick.cgierr.", @tempdir, mode: IO::BINARY)
/macosx-10.9.5/emacs-92/
H A Ddumpemacs.c159 char tempdir[MAXPATHLEN], newpath[MAXPATHLEN]; local
173 snprintf(tempdir, sizeof(tempdir), "%s/emacs.XXXXXX", tmp);
175 if(debugflag) printf("Generating random directory with template %s\n", tempdir);
176 if(NULL == mkdtemp(tempdir))
177 err(1, "mkdtemp(%s) failed", tempdir);
178 chown(tempdir, nobodyUID, 0);
179 if(debugflag) printf("Directory is %s\n", tempdir);
181 snprintf(newpath, sizeof(newpath), "%s/etc", tempdir);
188 snprintf(newpath, sizeof(newpath), "%s/lib-src", tempdir);
[all...]
/macosx-10.9.5/ruby-104/ruby/test/rake/
H A Dtest_rake.rb37 assert_equal @tempdir, Rake.original_dir

Completed in 138 milliseconds

123