Skip to content

Commit

Permalink
Use benchmark captures in test_input_output.py
Browse files Browse the repository at this point in the history
  • Loading branch information
superbobry committed Jul 3, 2016
1 parent 02dac36 commit 4add927
Show file tree
Hide file tree
Showing 29 changed files with 16 additions and 22 deletions.
File renamed without changes.
13 changes: 0 additions & 13 deletions benchmarks/generate.sh

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions tests/captured/cat-gpl3.output
@@ -0,0 +1 @@
[" If the program does terminal interaction, make it output a short ", "notice like this when it starts in an interactive mode: ", " ", " <program> Copyright (C) <year> <name of author> ", " This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. ", " This is free software, and you are welcome to redistribute it ", " under certain conditions; type `show c' for details. ", " ", "The hypothetical commands `show w' and `show c' should show the appropriate ", "parts of the General Public License. Of course, your program's commands ", "might be different; for a GUI interface, you would use an \"about box\". ", " ", " You should also get your employer (if you work as a programmer) or school, ", "if any, to sign a \"copyright disclaimer\" for the program, if necessary. ", "For more information on this, and how to apply and follow the GNU GPL, see ", "<http://www.gnu.org/licenses/>. ", " ", " The GNU General Public License does not permit incorporating your program ", "into proprietary programs. If your program is a subroutine library, you ", "may consider it more useful to permit linking proprietary applications with ", "the library. If this is what you want to do, use the GNU Lesser General ", "Public License instead of this License. But first, please read ", "<http://www.gnu.org/philosophy/why-not-lgpl.html>. ", " "]
File renamed without changes.
1 change: 1 addition & 0 deletions tests/captured/emacs-tetris.output
@@ -0,0 +1 @@
[" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "]
File renamed without changes.
1 change: 1 addition & 0 deletions tests/captured/find-etc.output
@@ -0,0 +1 @@
["/etc/mailcap ", "/etc/acpi/asus-keyboard-backlight.sh ", "/etc/acpi/tosh-wireless.sh ", "/etc/acpi/powerbtn.sh ", "/etc/acpi/asus-wireless.sh ", "/etc/acpi/ibm-wireless.sh ", "/etc/acpi/events/powerbtn ", "/etc/acpi/events/ibm-wireless ", "/etc/acpi/events/tosh-wireless ", "/etc/acpi/events/asus-wireless-off ", "/etc/acpi/events/asus-keyboard-backlight-down ", "/etc/acpi/events/lenovo-undock ", "/etc/acpi/events/asus-wireless-on ", "/etc/acpi/events/thinkpad-cmos ", "/etc/acpi/events/asus-keyboard-backlight-up ", "/etc/acpi/undock.sh ", "/etc/magic ", "/etc/iscsi/iscsid.conf ", "/etc/nsswitch.conf ", "/etc/gnome/defaults.list ", "/etc/gnome/menus.blacklist ", "/etc/ca-certificates.conf.dpkg-old ", "/etc/rc.local ", " "]
File renamed without changes.
1 change: 1 addition & 0 deletions tests/captured/htop-10s.output
@@ -0,0 +1 @@
[" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "]
File renamed without changes.
1 change: 1 addition & 0 deletions tests/captured/ls.output
@@ -0,0 +1 @@
[" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "]
File renamed without changes.
1 change: 1 addition & 0 deletions tests/captured/man-man.output
@@ -0,0 +1 @@
[" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "]
File renamed without changes.
1 change: 1 addition & 0 deletions tests/captured/mc.output
@@ -0,0 +1 @@
[" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "]
File renamed without changes.
1 change: 1 addition & 0 deletions tests/captured/top.output
@@ -0,0 +1 @@
["Processes: 226 total, 4 running, 2 stuck, 220 sleeping, 1217 threads 14:28:16 ", "Load Avg: 2.46, 2.23, 1.82 CPU usage: 29.50% user, 31.14% sys, 39.34% idle ", "SharedLibs: 104M resident, 15M data, 8844K linkedit. ", "MemRegions: 52604 total, 1136M resident, 42M private, 428M shared. ", "PhysMem: 4066M used (1099M wired), 29M unused. ", "VM: 640G vsize, 535M framework vsize, 1576364(0) swapins, 1902834(0) swapouts. ", "Networks: packets: 4167195/4688M in, 2425847/370M out. ", "Disks: 1338409/37G read, 1186041/37G written. ", " ", "PID COMMAND %CPU TIME #TH #WQ #PORT MEM PURG CMPRS PGRP ", "53096 top 0.0 00:00.15 1/1 0 16+ 1728K+ 0B 0B 53094 ", "53095 python3.5 0.0 00:00.10 1 0 14+ 6528K+ 0B 0B 53094 ", "53094 gtimeout 0.0 00:00.00 1 0 12+ 416K+ 0B 0B 53094 ", "52695 mdworker 0.0 00:00.09 3 0 49+ 3132K+ 0B 0B 52695 ", "52694 mdworker 0.0 00:00.09 3 0 49+ 3148K+ 0B 0B 52694 ", "52693 mdworker 0.0 00:00.07 3 0 49+ 3120K+ 0B 0B 52693 ", "52692 mdworker 0.0 00:00.09 3 0 49+ 3148K+ 0B 0B 52692 ", "52689 mdworker 0.0 00:00.11 3 0 49+ 3232K+ 0B 0B 52689 ", "52688 mdworker 0.0 00:00.09 3 0 49+ 3184K+ 0B 0B 52688 ", "52687 mdworker 0.0 00:00.12 3 0 49+ 3152K+ 0B 0B 52687 ", "52659 mdworker 0.0 00:00.07 3 0 43+ 796K+ 0B 2308K+ 52659 ", "52658 mdworker 0.0 00:00.13 4 0 48+ 1856K+ 0B 2324K+ 52658 ", "52657 mdworker 0.0 00:00.18 4 0 48+ 2140K+ 0B 1428K+ 52657 ", "52656 mdworker 0.0 00:00.19 4 0 48+ 3824K+ 0B 2116K+ 52656 "]
File renamed without changes.
1 change: 1 addition & 0 deletions tests/captured/vi.output
@@ -0,0 +1 @@
[" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "]
Binary file removed tests/emacs-tetris.output
Binary file not shown.

0 comments on commit 4add927

Please sign in to comment.