diff -Nru julia-0.3.0/Make.inc julia-0.3.0/Make.inc --- julia-0.3.0/Make.inc 2014-01-26 23:38:17.000000000 +0000 +++ julia-0.3.0/Make.inc 2014-01-27 23:18:59.000000000 +0000 @@ -233,6 +233,12 @@ LDFLAGS += -fsanitize=address endif +TAR=`which gtar || which tar` +TAR_TEST := $(shell $(TAR) --help 2>&1 | grep strip-components) +ifeq (,$(findstring components,$(TAR_TEST))) +$(error "please install either GNU tar or bsdtar") +endif + # =========================================================================== BUILD_MACHINE := $(shell $(HOSTCC) -dumpmachine) @@ -256,6 +262,11 @@ endif endif +# We map amd64 to x86_64 for compatibility with systems that identify 64-bit systems as such +ifeq ($(ARCH),amd64) +ARCH = x86_64 +endif + ifeq ($(USEGCC),1) ifneq ($(ARCH), ppc64) SHIPFLAGS += -momit-leaf-frame-pointer diff -Nru julia-0.3.0/Makefile julia-0.3.0/Makefile --- julia-0.3.0/Makefile 2014-01-26 23:38:17.000000000 +0000 +++ julia-0.3.0/Makefile 2014-01-27 23:18:59.000000000 +0000 @@ -262,7 +262,7 @@ cat ./contrib/windows/7zS.sfx ./contrib/windows/7zSFX-config.txt "julia-install-$(JULIA_COMMIT)-$(ARCH).7z" > "julia-${JULIA_VERSION}-${ARCH}.exe" -rm -f julia-installer.exe else - tar zcvf julia-$(JULIA_COMMIT)-$(OS)-$(ARCH).tar.gz julia-$(JULIA_COMMIT) + $(TAR) zcvf julia-$(JULIA_COMMIT)-$(OS)-$(ARCH).tar.gz julia-$(JULIA_COMMIT) endif rm -fr julia-$(JULIA_COMMIT) diff -Nru julia-0.3.0/base/process.jl julia-0.3.0/base/process.jl --- julia-0.3.0/base/process.jl 2014-01-26 23:38:17.000000000 +0000 +++ julia-0.3.0/base/process.jl 2014-01-27 23:18:59.000000000 +0000 @@ -5,7 +5,8 @@ ignorestatus::Bool detach::Bool env::Union(Array{ByteString},Nothing) - Cmd(exec::Vector{ByteString}) = new(exec,false,false,nothing) + dir::UTF8String + Cmd(exec::Vector{ByteString}) = new(exec,false,false,nothing,"") end type OrCmds <: AbstractCmd @@ -29,19 +30,21 @@ shell_escape(cmd::Cmd) = shell_escape(cmd.exec...) function show(io::IO, cmd::Cmd) - if isa(cmd.exec,Vector{ByteString}) - esc = shell_escape(cmd) - print(io,'`') - for c in esc - if c == '`' - print(io,'\\') - end - print(io,c) - end - print(io,'`') - else - print(io, cmd.exec) - end + print_env = cmd.env !== nothing + print_dir = !isempty(cmd.dir) + (print_env || print_dir) && print(io,"setenv(") + esc = shell_escape(cmd) + print(io,'`') + for c in esc + if c == '`' + print(io,'\\') + end + print(io,c) + end + print(io,'`') + print_env && (print(io,","); show(io,cmd.env)) + print_dir && (print(io,"; dir="); show(io,cmd.dir)) + (print_dir || print_env) && print(io,")") end function show(io::IO, cmds::OrCmds) @@ -132,8 +135,9 @@ ignorestatus(cmd::Union(OrCmds,AndCmds)) = (ignorestatus(cmd.a); ignorestatus(cmd.b); cmd) detach(cmd::Cmd) = (cmd.detach=true; cmd) -setenv{S<:ByteString}(cmd::Cmd, env::Array{S}) = (cmd.env = ByteString[x for x in env];cmd) -setenv(cmd::Cmd, env::Associative) = (cmd.env = ByteString[string(k)*"="*string(v) for (k,v) in env];cmd) +setenv{S<:ByteString}(cmd::Cmd, env::Array{S}; dir="") = (cmd.env = ByteString[x for x in env]; setenv(cmd,dir=dir); cmd) +setenv(cmd::Cmd, env::Associative; dir="") = (cmd.env = ByteString[string(k)*"="*string(v) for (k,v) in env]; setenv(cmd,dir=dir); cmd) +setenv(cmd::Cmd; dir="") = (cmd.dir = dir; cmd) (&)(left::AbstractCmd,right::AbstractCmd) = AndCmds(left,right) (|>)(src::AbstractCmd,dest::AbstractCmd) = OrCmds(src,dest) @@ -196,10 +200,10 @@ error = ccall(:jl_spawn, Int32, (Ptr{Uint8}, Ptr{Ptr{Uint8}}, Ptr{Void}, Ptr{Void}, Any, Int32, Ptr{Void}, Int32, Ptr{Void}, Int32, Ptr{Void}, - Int32, Ptr{Ptr{Uint8}}), + Int32, Ptr{Ptr{Uint8}}, Ptr{Uint8}), cmd, argv, loop, proc, pp, uvtype(in), uvhandle(in), uvtype(out), uvhandle(out), uvtype(err), uvhandle(err), - pp.cmd.detach, pp.cmd.env === nothing ? C_NULL : pp.cmd.env) + pp.cmd.detach, pp.cmd.env === nothing ? C_NULL : pp.cmd.env, isempty(pp.cmd.dir) ? C_NULL : pp.cmd.dir) if error != 0 c_free(proc) throw(UVError("spawn",error)) diff -Nru julia-0.3.0/debian/bzr-builder.manifest julia-0.3.0/debian/bzr-builder.manifest --- julia-0.3.0/debian/bzr-builder.manifest 2014-01-26 23:38:21.000000000 +0000 +++ julia-0.3.0/debian/bzr-builder.manifest 2014-01-27 23:19:05.000000000 +0000 @@ -1,2 +1,2 @@ -# bzr-builder format 0.3 deb-version {debupstream}-744 -lp:~staticfloat/julianightlies/trunk revid:staticfloat@gmail.com-20140126231654-g0eyvljsxevdbca5 +# bzr-builder format 0.3 deb-version {debupstream}-747 +lp:~staticfloat/julianightlies/trunk revid:staticfloat@gmail.com-20140127210010-tjsn12i7bgjeqzum diff -Nru julia-0.3.0/debian/changelog julia-0.3.0/debian/changelog --- julia-0.3.0/debian/changelog 2014-01-26 23:38:21.000000000 +0000 +++ julia-0.3.0/debian/changelog 2014-01-27 23:19:05.000000000 +0000 @@ -1,14 +1,14 @@ -julia (0.3.0-744~ubuntu13.04.1) raring; urgency=low +julia (0.3.0-747~ubuntu13.04.1) raring; urgency=low * Auto build. - -- Elliot Saba Sun, 26 Jan 2014 23:38:21 +0000 + -- Elliot Saba Mon, 27 Jan 2014 23:19:05 +0000 julia (0.3.0-prerelease+20140126) precise; urgency=low * nightly git build - -- Elliot Saba Sun, 26 Jan 2014 18:16:53 -0500 + -- Elliot Saba Mon, 27 Jan 2014 16:00:10 -0500 julia (0.2.0-pre) unstable; urgency=low diff -Nru julia-0.3.0/deps/Makefile julia-0.3.0/deps/Makefile --- julia-0.3.0/deps/Makefile 2014-01-26 23:38:17.000000000 +0000 +++ julia-0.3.0/deps/Makefile 2014-01-27 23:18:59.000000000 +0000 @@ -298,7 +298,7 @@ llvm-$(LLVM_VER)/configure: $(LLVM_TAR) $(LLVM_CLANG_TAR) $(LLVM_COMPILER_RT_TAR) $(LLVM_LIBCXX_TAR) ifneq ($(LLVM_VER),svn) mkdir -p llvm-$(LLVM_VER) && \ - tar -C llvm-$(LLVM_VER) --strip-components 1 -xf $(LLVM_TAR) + $(TAR) -C llvm-$(LLVM_VER) --strip-components 1 -xf $(LLVM_TAR) else ([ ! -d llvm-$(LLVM_VER) ] && \ git clone http://llvm.org/git/llvm.git llvm-$(LLVM_VER) ) || \ @@ -312,7 +312,7 @@ ifneq ($(LLVM_VER),svn) ifneq ($(LLVM_CLANG_TAR),) mkdir -p llvm-$(LLVM_VER)/tools/clang && \ - tar -C llvm-$(LLVM_VER)/tools/clang --strip-components 1 -xf $(LLVM_CLANG_TAR) + $(TAR) -C llvm-$(LLVM_VER)/tools/clang --strip-components 1 -xf $(LLVM_CLANG_TAR) endif else ifneq ($(BUILD_LLVM_CLANG),) @@ -325,11 +325,11 @@ ifneq ($(LLVM_VER),svn) ifneq ($(LLVM_COMPILER_RT_TAR),) mkdir -p llvm-$(LLVM_VER)/projects/compiler-rt && \ - tar -C llvm-$(LLVM_VER)/projects/compiler-rt --strip-components 1 -xf $(LLVM_COMPILER_RT_TAR) + $(TAR) -C llvm-$(LLVM_VER)/projects/compiler-rt --strip-components 1 -xf $(LLVM_COMPILER_RT_TAR) endif ifneq ($(LLVM_LIBCXX_TAR),) mkdir -p llvm-$(LLVM_VER)/projects/libcxx && \ - tar -C llvm-$(LLVM_VER)/projects/libcxx --strip-components 1 -xf $(LLVM_LIBCXX_TAR) + $(TAR) -C llvm-$(LLVM_VER)/projects/libcxx --strip-components 1 -xf $(LLVM_LIBCXX_TAR) endif else ifneq ($(BUILD_LLVM_CLANG),) @@ -420,7 +420,7 @@ touch -c $@ readline-$(READLINE_VER)/configure: readline-$(READLINE_VER).tar.gz mkdir readline-$(READLINE_VER) - tar -C readline-$(READLINE_VER) --strip-components 1 -xf $< + $(TAR) -C readline-$(READLINE_VER) --strip-components 1 -xf $< touch -c $@ $(READLINE_OBJ_TARGET): $(READLINE_OBJ_SOURCE) readline-$(READLINE_VER)/checked $(MAKE) -C readline-$(READLINE_VER) $(READLINE_CFLAGS) install @@ -439,7 +439,7 @@ $(JLDOWNLOAD) $@ http://ftp.gnu.org/gnu/readline/$@ touch -c $@ readline-$(READLINE_VER)/configure: readline-$(READLINE_VER).tar.gz - tar zxf $< + $(TAR) zxf $< cd readline-$(READLINE_VER) && patch -p0 < ../readline62-001 cd readline-$(READLINE_VER) && patch -p0 < ../readline62-002 cd readline-$(READLINE_VER) && patch -p0 < ../readline62-003 @@ -548,7 +548,7 @@ pcre-$(PCRE_VER).tar.bz2: $(JLDOWNLOAD) $@ http://sourceforge.net/projects/pcre/files/pcre/$(PCRE_VER)/$@/download pcre-$(PCRE_VER)/configure: pcre-$(PCRE_VER).tar.bz2 - tar jxf $< + $(TAR) jxf $< touch -c $@ pcre-$(PCRE_VER)/config.status: pcre-$(PCRE_VER)/configure cd pcre-$(PCRE_VER) && \ @@ -590,7 +590,7 @@ touch -c $@ double-conversion-$(GRISU_VER)/Makefile: double-conversion-$(GRISU_VER).tar.gz mkdir -p double-conversion-$(GRISU_VER) && \ - tar -C double-conversion-$(GRISU_VER) --strip-components 1 -xf double-conversion-$(GRISU_VER).tar.gz + $(TAR) -C double-conversion-$(GRISU_VER) --strip-components 1 -xf double-conversion-$(GRISU_VER).tar.gz touch -c $@ ifeq ($(USE_SYSTEM_GRISU), 0) @@ -722,7 +722,7 @@ random/dsfmt-$(DSFMT_VER)/config.status: random/dsfmt-$(DSFMT_VER).tar.gz cd random && \ mkdir -p dsfmt-$(DSFMT_VER) && \ - tar -C dsfmt-$(DSFMT_VER) --strip-components 1 -xf dsfmt-$(DSFMT_VER).tar.gz && \ + $(TAR) -C dsfmt-$(DSFMT_VER) --strip-components 1 -xf dsfmt-$(DSFMT_VER).tar.gz && \ cd dsfmt-$(DSFMT_VER) && patch < ../dSFMT.h.patch && patch < ../dSFMT.c.patch echo 1 > $@ $(LIBRANDOM_OBJ_SOURCE): random/jl_random.c random/randmtzig.c random/dsfmt-$(DSFMT_VER)/config.status @@ -858,7 +858,7 @@ $(JLDOWNLOAD) $@ https://github.com/xianyi/OpenBLAS/tarball/$(OPENBLAS_VER) openblas-$(OPENBLAS_VER)/config.status: openblas-$(OPENBLAS_VER).tar.gz mkdir -p openblas-$(OPENBLAS_VER) && \ - tar -C openblas-$(OPENBLAS_VER) --strip-components 1 -xf $< + $(TAR) -C openblas-$(OPENBLAS_VER) --strip-components 1 -xf $< perl -i -ple 's/^\s*(EXTRALIB\s*\+=\s*-lSystemStubs)\s*$$/# $$1/g' $@.system ifeq ($(OPENBLAS_VER),v0.2.8) cd openblas-$(OPENBLAS_VER)/lapack-netlib/SRC && \ @@ -989,7 +989,7 @@ lapack-$(LAPACK_VER).tgz: $(JLDOWNLOAD) $@ http://www.netlib.org/lapack/$@ lapack-$(LAPACK_VER)/Makefile: lapack-$(LAPACK_VER).tgz - tar zxf $< + $(TAR) zxf $< cd lapack-$(LAPACK_VER)/SRC && patch < ../../dlasd4-lapack-3.4.2.patch && patch < ../../slasd4-lapack-3.4.2.patch touch -c $@ ifeq ($(USE_SYSTEM_BLAS), 0) @@ -1051,7 +1051,7 @@ $(JLDOWNLOAD) $@ http://forge.scilab.org/index.php/p/arpack-ng/downloads/get/arpack-ng-$(ARPACK_VER).tar.gz touch -c $@ arpack-ng-$(ARPACK_VER)/configure: arpack-ng-$(ARPACK_VER).tar.gz - tar zxf $< + $(TAR) zxf $< touch -c $@ ifeq ($(USE_ATLAS), 1) @@ -1131,7 +1131,7 @@ fftw-$(FFTW_VER)-single/configure: fftw-$(FFTW_VER).tar.gz mkdir -p fftw-$(FFTW_VER)-single && \ - tar -C fftw-$(FFTW_VER)-single --strip-components 1 -xf $< + $(TAR) -C fftw-$(FFTW_VER)-single --strip-components 1 -xf $< ifeq ($(OS),WINNT) patch fftw-$(FFTW_VER)-single/configure < fftw-config-nopthreads.patch patch fftw-$(FFTW_VER)-single/kernel/ifftw.h < ifftw.h.patch @@ -1168,7 +1168,7 @@ fftw-$(FFTW_VER)-double/configure: fftw-$(FFTW_VER).tar.gz mkdir -p fftw-$(FFTW_VER)-double && \ - tar -C fftw-$(FFTW_VER)-double --strip-components 1 -xf $< + $(TAR) -C fftw-$(FFTW_VER)-double --strip-components 1 -xf $< ifeq ($(OS),WINNT) patch fftw-$(FFTW_VER)-double/configure < fftw-config-nopthreads.patch patch fftw-$(FFTW_VER)-double/kernel/ifftw.h < ifftw.h.patch @@ -1242,7 +1242,7 @@ $(JLDOWNLOAD) $@ http://www.public-software-group.org/pub/projects/utf8proc/v$(UTF8PROC_VER)/$@ utf8proc-v$(UTF8PROC_VER)/Makefile: utf8proc-v$(UTF8PROC_VER).tar.gz - tar -xzf $< + $(TAR) -xzf $< patch $@ < utf8proc_Makefile.patch touch -c $@ @@ -1293,7 +1293,7 @@ $(JLDOWNLOAD) $@ http://www.cise.ufl.edu/research/sparse/SuiteSparse/$@ SuiteSparse-$(SUITESPARSE_VER)/Makefile: SuiteSparse-$(SUITESPARSE_VER).tar.gz mkdir -p SuiteSparse-$(SUITESPARSE_VER) - tar -C SuiteSparse-$(SUITESPARSE_VER) --strip-components 1 -zxf $< + $(TAR) -C SuiteSparse-$(SUITESPARSE_VER) --strip-components 1 -zxf $< touch -c $@ ifeq ($(USE_ATLAS), 1) @@ -1381,7 +1381,7 @@ libunwind-$(UNWIND_VER).tar.gz: $(JLDOWNLOAD) $@ http://download.savannah.gnu.org/releases/libunwind/$@ libunwind-$(UNWIND_VER)/configure: libunwind-$(UNWIND_VER).tar.gz - tar xfz $< + $(TAR) xfz $< touch -c $@ libunwind-$(UNWIND_VER)/config.status: libunwind-$(UNWIND_VER)/configure cd libunwind-$(UNWIND_VER) && \ @@ -1426,7 +1426,7 @@ $(JLDOWNLOAD) $@ https://github.com/JuliaLang/libosxunwind/archive/v$(OSXUNWIND_VER).tar.gz libosxunwind-$(OSXUNWIND_VER)/Makefile: libosxunwind-$(OSXUNWIND_VER).tar.gz - tar xfz $< + $(TAR) xfz $< touch -c $@ $(OSXUNWIND_OBJ_SOURCE): libosxunwind-$(OSXUNWIND_VER)/Makefile @@ -1457,7 +1457,7 @@ gmp-$(GMP_VER).tar.bz2: $(JLDOWNLOAD) $@ ftp://ftp.gmplib.org/pub/gmp-$(GMP_VER)/$@ gmp-$(GMP_VER)/configure: gmp-$(GMP_VER).tar.bz2 - tar jxf $< + $(TAR) jxf $< touch -c $@ gmp-$(GMP_VER)/config.status: gmp-$(GMP_VER)/configure cd gmp-$(GMP_VER) && \ @@ -1506,7 +1506,7 @@ mpfr-$(MPFR_VER).tar.bz2: $(JLDOWNLOAD) $@ http://www.mpfr.org/mpfr-current/$@ mpfr-$(MPFR_VER)/configure: mpfr-$(MPFR_VER).tar.bz2 - tar jxf $< + $(TAR) jxf $< touch -c $@ mpfr-$(MPFR_VER)/config.status: mpfr-$(MPFR_VER)/configure $(MPFR_DEPS) cd mpfr-$(MPFR_VER) && \ @@ -1554,7 +1554,7 @@ zlib-$(ZLIB_VER).tar.gz: $(JLDOWNLOAD) $@ http://zlib.net/$@ zlib-$(ZLIB_VER)/configure: zlib-$(ZLIB_VER).tar.gz - tar zxf $< + $(TAR) zxf $< touch -c $@ zlib-$(ZLIB_VER)/config.status: zlib-$(ZLIB_VER)/configure ifeq ($(OS), WINNT) @@ -1606,7 +1606,7 @@ patchelf-$(PATCHELF_VER).tar.bz2: $(JLDOWNLOAD) $@ http://hydra.nixos.org/build/1524660/download/2/$@ patchelf-$(PATCHELF_VER)/configure: patchelf-$(PATCHELF_VER).tar.bz2 - tar jxf $< + $(TAR) jxf $< touch -c $@ patchelf-$(PATCHELF_VER)/config.status: patchelf-$(PATCHELF_VER)/configure cd patchelf-$(PATCHELF_VER) && \ @@ -1645,7 +1645,7 @@ git-$(GIT_VER).tar.gz: $(JLDOWNLOAD) $@ http://git-core.googlecode.com/files/$@ git-$(GIT_VER)/configure: git-$(GIT_VER).tar.gz - tar zxf $< + $(TAR) zxf $< touch -c $@ git-$(GIT_VER)/config.status: git-$(GIT_VER)/configure cd git-$(GIT_VER) && \ diff -Nru julia-0.3.0/deps/jldownload julia-0.3.0/deps/jldownload --- julia-0.3.0/deps/jldownload 2014-01-26 23:38:17.000000000 +0000 +++ julia-0.3.0/deps/jldownload 2014-01-27 23:18:59.000000000 +0000 @@ -5,9 +5,9 @@ MIRROR_HOST=http://d304tytmzqn1fl.cloudfront.net -WGET=/usr/bin/wget -CURL=/usr/bin/curl -FETCH=/usr/bin/fetch +WGET=$(which wget) +CURL=$(which curl) +FETCH=$(which fetch) TIMEOUT=15 # seconds WGET_OPTS="--no-check-certificate --tries=1 --timeout=$TIMEOUT" diff -Nru julia-0.3.0/src/jl_uv.c julia-0.3.0/src/jl_uv.c --- julia-0.3.0/src/jl_uv.c 2014-01-26 23:38:17.000000000 +0000 +++ julia-0.3.0/src/jl_uv.c 2014-01-27 23:18:59.000000000 +0000 @@ -330,7 +330,7 @@ uv_handle_type stdin_type, uv_pipe_t *stdin_pipe, uv_handle_type stdout_type, uv_pipe_t *stdout_pipe, uv_handle_type stderr_type, uv_pipe_t *stderr_pipe, - int detach, char **env) + int detach, char **env, char *cwd) { uv_process_options_t opts; uv_stdio_container_t stdio[3]; @@ -342,7 +342,7 @@ #else opts.flags = UV_PROCESS_RESET_SIGPIPE; #endif - opts.cwd = NULL; + opts.cwd = cwd; opts.args = argv; if (detach) opts.flags |= UV_PROCESS_DETACHED; diff -Nru julia-0.3.0/src/jltypes.c julia-0.3.0/src/jltypes.c --- julia-0.3.0/src/jltypes.c 2014-01-26 23:38:17.000000000 +0000 +++ julia-0.3.0/src/jltypes.c 2014-01-27 23:18:59.000000000 +0000 @@ -659,7 +659,7 @@ if (b == jl_bottom_type) return b; } - if (var == invariant && !jl_has_typevars_(b,0)) { + if (var == invariant && !jl_has_typevars_(b,0) && !jl_is_typevar(b)) { int i; for(i=0; i < eqc->n; i+=2) { if (eqc->data[i] == (jl_value_t*)a) { diff -Nru julia-0.3.0/src/julia-parser.scm julia-0.3.0/src/julia-parser.scm --- julia-0.3.0/src/julia-parser.scm 2014-01-26 23:38:17.000000000 +0000 +++ julia-0.3.0/src/julia-parser.scm 2014-01-27 23:18:59.000000000 +0000 @@ -969,6 +969,9 @@ (case nxt ((end) (list 'if test then)) ((elseif) + (if (newline? (peek-token s)) + (error (string "missing condition in \"elseif\" at " current-filename + ":" (- (input-port-line (ts:port s)) 1)))) `(if ,test ,then ;; line number for elseif condition (block ,(line-number-node s) diff -Nru julia-0.3.0/src/julia.h julia-0.3.0/src/julia.h --- julia-0.3.0/src/julia.h 2014-01-26 23:38:17.000000000 +0000 +++ julia-0.3.0/src/julia.h 2014-01-27 23:18:59.000000000 +0000 @@ -836,7 +836,7 @@ uv_handle_type stdin_type,uv_pipe_t *stdin_pipe, uv_handle_type stdout_type,uv_pipe_t *stdout_pipe, uv_handle_type stderr_type,uv_pipe_t *stderr_pipe, - int detach, char **env); + int detach, char **env, char *cwd); DLLEXPORT void jl_run_event_loop(uv_loop_t *loop); DLLEXPORT int jl_run_once(uv_loop_t *loop); DLLEXPORT int jl_process_events(uv_loop_t *loop); diff -Nru julia-0.3.0/test/core.jl julia-0.3.0/test/core.jl --- julia-0.3.0/test/core.jl 2014-01-26 23:38:17.000000000 +0000 +++ julia-0.3.0/test/core.jl 2014-01-27 23:18:59.000000000 +0000 @@ -56,6 +56,11 @@ # issue #5359 @test typeintersect((Type{Array{T,1}},Array{T,1}), (Type{AbstractVector},Vector{Int})) === None + # issue #5559 + @test typeintersect((Type{Vector{Complex128}}, AbstractVector), + (Type{Array{T,N}}, Array{S,N})) == (Type{Vector{Complex128}},Vector) + @test typeintersect((Type{Vector{Complex128}}, AbstractArray), + (Type{Array{T,N}}, Array{S,N})) == (Type{Vector{Complex128}},Vector) end let N = TypeVar(:N,true) @test isequal(typeintersect((NTuple{N,Integer},NTuple{N,Integer}), diff -Nru julia-0.3.0/test/spawn.jl julia-0.3.0/test/spawn.jl --- julia-0.3.0/test/spawn.jl 2014-01-26 23:38:17.000000000 +0000 +++ julia-0.3.0/test/spawn.jl 2014-01-27 23:18:59.000000000 +0000 @@ -83,6 +83,7 @@ readall(setenv(`sh -c "echo \$TEST"`,["TEST=Hello World"])) == "Hello World\n" readall(setenv(`sh -c "echo \$TEST"`,["TEST"=>"Hello World"])) == "Hello World\n" +readall(setenv(`sh -c "pwd"`;dir="/")) == readall(setenv(`sh -c "cd / && pwd"`)) # Here we test that if we close a stream with pending writes, we don't lose the writes. str = ""