Home | History | Annotate | Line # | Download | only in unit-tests
posix.exp revision 1.1
      1 Posix says we should execute the command as if run by system(3)
      2 Expect 'Hello,' and 'World!'
      3 Hello,
      4 World!
      5 a command
      6 a command prefixed by '+' executes even with -n
      7 another command
      8 make -n
      9 echo a command
     10 echo "a command prefixed by '+' executes even with -n"
     11 a command prefixed by '+' executes even with -n
     12 echo another command
     13 make -n -j1
     14 { echo a command
     15 } || exit $?
     16 echo "a command prefixed by '+' executes even with -n"
     17 a command prefixed by '+' executes even with -n
     18 { echo another command
     19 } || exit $?
     20 Now we expect an error...
     21 *** Error code 1 (continuing)
     22 `all' not remade because of errors.
     23 exit status 0
     24