1. 11 4月, 2015 1 次提交
  2. 28 3月, 2015 1 次提交
    • M
      selftests/powerpc: Add a test of the switch_endian() syscall · 4cd968ef
      Michael Ellerman 提交于
      This adds a test of the switch_endian() syscall we added in the previous
      commit.
      
      We test it by calling the endian switch syscall, and then executing some
      code in the other endian to check everything went as expected. That code
      checks registers we expect to be maintained are. If the endian switch
      failed to happen that code sequence will be illegal and cause the test
      to abort.
      
      We then switch back to the original endian, do the same checks and
      finally write a success message and exit(0).
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      4cd968ef
  3. 18 3月, 2015 2 次提交
  4. 17 3月, 2015 1 次提交
  5. 16 3月, 2015 1 次提交
  6. 12 3月, 2015 1 次提交
  7. 04 2月, 2015 1 次提交
  8. 02 2月, 2015 4 次提交
  9. 29 1月, 2015 2 次提交
  10. 28 1月, 2015 2 次提交
    • J
      ktest: Restore tty settings after closing console · 98842782
      Josh Poimboeuf 提交于
      When ktest runs the console program as a child process, the parent and
      child share the same tty for stdin and stderr.  This is problematic when
      using a libvirt target.  The "virsh console" program makes a lot of
      changes to the tty settings, making ktest's output hard to read
      (carriage returns don't work).  After ktest exits, the terminal is
      unusable (CRs broken, stdin isn't echoed).
      
      I think the best way to fix this issue would be to create a
      pseudoterminal (pty pair) so the child process would have a dedicated
      tty, and then use pipes to connect the two ttys.  I'm not sure if that's
      overkill, but it's far beyond my current Perl abilities.
      
      This patch is a much easier way to (partially) fix this issue.  It saves
      the tty settings before opening the console and restores them after
      closing it.  There are still a few places where ktest prints mangled
      output while the console is open, but the output is much more legible
      overall, and the terminal works just fine after ktest exits.
      
      Link: http://lkml.kernel.org/r/1bb89abc0025cf1d6da657c7ba58bbeb4381a515.1422382008.git.jpoimboe@redhat.comSigned-off-by: NJosh Poimboeuf <jpoimboe@redhat.com>
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      98842782
    • S
      ktest: Add timings for commands · b53486e0
      Steven Rostedt (Red Hat) 提交于
      I find that I usually like to see how long a make or other command takes,
      and adding a start and end time and reporting how long each command runs
      (in seconds) is helpful.
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      b53486e0
  11. 23 1月, 2015 3 次提交
  12. 11 1月, 2015 5 次提交
  13. 09 1月, 2015 1 次提交
  14. 07 1月, 2015 3 次提交
  15. 23 12月, 2014 1 次提交
  16. 19 12月, 2014 1 次提交
  17. 14 12月, 2014 1 次提交
  18. 12 12月, 2014 1 次提交
  19. 04 12月, 2014 3 次提交
  20. 03 12月, 2014 3 次提交
  21. 25 11月, 2014 1 次提交
  22. 24 11月, 2014 1 次提交