3 # tests related to SB-EXT:RUN-PROGRAM
5 # This software is part of the SBCL system. See the README file for
8 # While most of SBCL is derived from the CMU CL system, the test
9 # files (like this one) were written from scratch after the fork
12 # This software is in the public domain and is provided with
13 # absolutely no warranty. See the COPYING and CREDITS files for
16 sbcl --noinform --noprint --sysinit /dev/null --userinit /dev/null <<EOF
17 (let ((string (with-output-to-string (stream)
18 (sb-ext:run-program "/bin/echo"
21 (when (string= string "foo bar
23 (sb-ext:quit :unix-status 52)))
34 # (SB-EXT:RUN-PROGRAM "echo" NIL)
35 # => error in function SB-IMPL::%ENUMERATE-SEARCH-LIST:
36 # Undefined search list: path
38 # (SB-EXT:RUN-PROGRAM "/bin/uname" '("-a") :OUTPUT :STREAM)
39 # doesn't return a STREAM (the way doc string claims)