diff --git a/test-suite/standalone/test-use-srfi b/test-suite/standalone/test-use-srfi new file mode 100755 index 000000000..9ab6ca482 --- /dev/null +++ b/test-suite/standalone/test-use-srfi @@ -0,0 +1,31 @@ +#!/bin/sh + +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This library is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or (at +# your option) any later version. +# +# This library is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +# License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this library; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + +# Test that running "guile --use-srfi=17" leaves the interactive REPL with +# the srfi-17 version of car. +# +# In guile 1.8.1 and earlier, and 1.6.8 and earlier, this failed because in +# `top-repl' the core bindings got ahead of anything --use-srfi gave. +# + +guile --use-srfi=17 <