On 21 Jul 2001, Dave Thomas wrote: > OK - the situation is that you have a test that's failing. We don't > know if the fault lies in Ruby, or in the test making assumptions that > aren't true under FreeBSD. > > So, let's find out _why_ the test is failing. Could you insert the > following at line 985 in your file sample/test.rb: > > test_ok(`./miniruby -x script_tmp` == 'nil') > ADD>> $stderr.puts `./miniruby -x script_tmp -zzz=555`.inspect > test_ok(`./miniruby -x script_tmp -zzz=555` == '555') > > and cut-n-paste the output from 'make test' back into an e-mail. > > Could you also show us what './ruby -v' says. $ make test ar rcu libruby.a array.o bignum.o class.o compar.o dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o gcc -O6 -I/home/lewellyn/include -rdynamic main.o dmyext.o libruby.a -lcrypt -lxpg4 -lm -L/home/lewellyn/lib -o miniruby "" not ok system 7 -- /home/lewellyn/ruby-1.6.4/sample/test.rb:986 test failed *** Error code 1 Stop. $ ./ruby -v ruby 1.6.4 (2001-06-04) [i386-freebsdelf3.3] $ But for what it's worth: $ ./miniruby -x script_tmp -zzz=555 $ ./miniruby -x -v script_tmp -zzz=555 ruby 1.6.4 (2001-06-04) [i386-freebsdelf3.3] 555$ So it appears that something's up with -x... At least that's what I see... Thanks, --Matt