1. 25 Feb, 2011 1 commit
    • Don Lipari's avatar
      Lipari: Added an extra sleep to test6.13 to make it pass consistently. · f815f209
      Don Lipari authored
      Gerrit Renker:  I found an easier test: after making sure that stdin is not
       redirected, check whether there is a non-negative terminal process group (it
       is -1 if there is no controlling terminal).
      
       Also, I think that the heuristic "only interactive if from login shell" is
       needlessly complicated/obscure. Most (if not all) shells that support job
       control place processes in their own process group (pid == pgrp): it now uses
       this as indicator of interactive mode.
      
      The following tests now pass:
      
        salloc &			# from login shell and from nested shell
        salloc --no-shell&		# ok
        salloc /bin/date&		# wants to be placed into the foreground
        salloc /bin/date </dev/null &	# ok
      
        setsid salloc	 		# complains there is no controlling terminal
        setsid salloc --no-shell&	# ok
      
      f815f209
  2. 24 Feb, 2011 1 commit
  3. 23 Feb, 2011 7 commits
  4. 19 Feb, 2011 1 commit
  5. 18 Feb, 2011 1 commit
  6. 17 Feb, 2011 1 commit
  7. 16 Feb, 2011 2 commits
  8. 15 Feb, 2011 6 commits
  9. 14 Feb, 2011 1 commit
  10. 11 Feb, 2011 1 commit
  11. 10 Feb, 2011 2 commits
  12. 09 Feb, 2011 2 commits
  13. 08 Feb, 2011 3 commits
  14. 02 Feb, 2011 1 commit
  15. 31 Jan, 2011 3 commits
  16. 28 Jan, 2011 3 commits
  17. 27 Jan, 2011 2 commits
  18. 26 Jan, 2011 2 commits