190 Commits

Author SHA1 Message Date
Peter Dave Hello
aff6fb4ac9 Syntax highlight in readme.md 2017-03-16 04:36:40 +08:00
Thomas Levine
9721f976e0 organize files 2016-04-11 18:44:58 +00:00
Thomas Levine
65dba9697d update history 2016-04-11 18:44:53 +00:00
Thomas Levine
f57e6cca22 move packages 2016-04-11 18:42:39 +00:00
Thomas Levine
144a76319c remove & 2016-04-11 18:42:33 +00:00
Thomas Levine
cb4e16ddff limits 2016-04-11 17:53:31 +00:00
Thomas Levine
cbad100692 more packages 2016-04-11 17:44:14 +00:00
Thomas Levine
3d5b5ede46 container 2016-04-11 17:40:56 +00:00
Thomas Levine
aedaaa3a05 ssh 2016-04-11 17:28:05 +00:00
Thomas Levine
5045b3546f fix configuration 2016-04-11 17:22:06 +00:00
Thomas Levine
9514948636 nixos-container 2016-04-11 17:14:12 +00:00
Thomas Levine
81a611dd9b require test 2016-04-11 16:27:38 +00:00
Thomas Levine
6fea07d8cf recurse 2016-04-11 16:20:20 +00:00
Thomas Levine
bd4d06bef6 explosions... 2016-04-11 05:44:58 +00:00
Thomas Levine
d92a9bc801 descend directories 2016-04-11 05:05:39 +00:00
Thomas Levine
dc90ed8578 merge small functions 2016-04-11 04:48:26 +00:00
Thomas Levine
d9ffa53e25 debug 2016-04-11 04:31:15 +00:00
Thomas Levine
47860e56ce local variables 2016-04-11 04:13:05 +00:00
Thomas Levine
37e57773a6 NO_MAIN variable 2016-04-11 04:04:30 +00:00
Thomas Levine
c8a0a1b30e meta 2016-04-10 22:48:55 +00:00
Thomas Levine
1bf8b930ec organize metafunctions better 2016-04-10 22:45:39 +00:00
Thomas Levine
a7a5db1cfd more meta 2016-04-10 22:44:22 +00:00
Thomas Levine
85a6c37dfc catch exit codes better 2016-04-10 22:07:15 +00:00
Thomas Levine
ba20619102 names 2016-04-10 21:55:15 +00:00
Thomas Levine
9932d0bf6f read -r and stuff 2016-04-10 21:54:08 +00:00
Thomas Levine
25f74b68cf localpath 2016-04-10 21:45:37 +00:00
Thomas Levine
2bd752012c localpath 2016-04-10 21:27:04 +00:00
Thomas Levine
3761493c7c $ for clarity 2016-04-10 21:18:08 +00:00
Thomas Levine
51fa9dc879 localpath 2016-04-10 21:17:19 +00:00
Thomas Levine
de4a92de7a simpler return codes for recurse 2016-04-10 21:05:34 +00:00
Thomas Levine
9bc3d63ded grr 2016-04-10 20:45:01 +00:00
Thomas Levine
4ca5b98550 comparators 2016-04-10 20:36:05 +00:00
Thomas Levine
fad04e1584 nicer cleanup 2016-04-10 20:34:36 +00:00
Thomas Levine
af0a80d1bd outline main 2016-04-10 20:27:56 +00:00
Thomas Levine
cc2c60cac0 remove another file 2016-04-10 20:11:40 +00:00
Thomas Levine
f3f01bb0dc input parsing 2016-04-10 20:05:34 +00:00
Thomas Levine
8a234e687f remove cycling 2016-04-10 20:03:07 +00:00
Thomas Levine
a6aaa5a130 header 2016-04-10 19:53:57 +00:00
Thomas Levine
3a4a7012a7 refactoring 2016-04-10 19:51:21 +00:00
Thomas Levine
a97bb751bc skip better 2016-04-10 19:44:17 +00:00
Thomas Levine
e217d5a8fb skip encoding 2016-04-10 19:39:11 +00:00
Thomas Levine
2ba4c8b00e exit codes 2016-04-10 19:32:01 +00:00
Thomas Levine
b03640f8aa shell test as variable rather than list 2016-04-10 19:27:15 +00:00
Thomas Levine
7e7b661c68 shorter 2016-04-10 19:20:04 +00:00
Thomas Levine
4e3e29c159 exit codes 2016-04-10 19:17:02 +00:00
Thomas Levine
9caa0d1225 more format 2016-04-10 19:08:19 +00:00
Thomas Levine
f4b66881f6 refactor 2016-04-10 18:56:32 +00:00
Thomas Levine
7dc70982e5 shorter outcome printing 2016-04-10 18:51:52 +00:00
Thomas Levine
34a6276b20 move footer 2016-04-10 18:43:58 +00:00
Thomas Levine
4db468ef2e colors 2016-04-10 18:42:58 +00:00
Thomas Levine
3ceba43410 start rearranging formatting 2016-04-10 18:23:24 +00:00
Thomas Levine
deaf05c062 log format 2016-04-10 17:53:11 +00:00
Thomas Levine
0feeb7233b tabs 2016-04-10 17:42:20 +00:00
Thomas Levine
562489e795 read with -d (not standard) 2016-04-10 17:18:32 +00:00
Thomas Levine
a084577951 play with reading many args 2016-04-10 17:04:12 +00:00
Thomas Levine
22e9f57f0f relative potential test in log file 2016-04-10 16:49:14 +00:00
Thomas Levine
246f29f06c wrappers 2016-04-10 16:40:36 +00:00
Thomas Levine
e230a80be1 move argument validation to the parser 2016-04-10 16:12:40 +00:00
Thomas Levine
b3188d17fc parameter expansions 2016-04-10 16:03:57 +00:00
Thomas Levine
446353a6a7 parameter expansions 2016-04-10 16:02:23 +00:00
Thomas Levine
287fd8a37c use new contains 2016-04-10 15:50:29 +00:00
Thomas Levine
9ce5c45bed "contains" function 2016-04-10 15:48:30 +00:00
Thomas Levine
f01c7f9b53 move dependency checks up to beginning 2016-04-10 15:34:06 +00:00
Thomas Levine
015dd2894f move validation lower 2016-04-10 09:05:08 +00:00
Thomas Levine
4798611d78 ascii delimiters 2016-04-10 08:45:11 +00:00
Thomas Levine
478b0b3c8d ideas 2016-04-10 06:36:34 +00:00
Thomas Levine
fa4708f940 command -v 2016-04-10 06:15:55 +00:00
Thomas Levine
77aff50374 print head 2016-04-10 06:05:28 +00:00
Thomas Levine
0ee97569a6 new format variable 2016-04-10 06:04:12 +00:00
Thomas Levine
f783aa8cbf Automatic commit with j 2016-04-08 22:44:29 +00:00
Thomas Levine
b807f6ad70 version 2016-04-08 22:29:50 +00:00
Thomas Levine
3cfa308953 order matter 2016-04-08 22:25:58 +00:00
Thomas Levine
b46d1a9d6c rearrange contents of the file 2016-04-08 22:24:55 +00:00
Thomas Levine
4608827fed document remote test-running 2016-04-08 21:10:01 +00:00
Thomas Levine
e36333a6c6 document remote test-running 2016-04-08 21:09:59 +00:00
Thomas Levine
c99f6f2919 document remote test-running 2016-04-08 21:09:57 +00:00
Thomas Levine
0227fc73f4 document remote test-running 2016-04-08 21:09:47 +00:00
Thomas Levine
a5e63f5042 execution with remotes 2016-04-08 20:41:53 +00:00
Thomas Levine
fa432b5c09 remote testing proposal 2016-04-07 12:38:23 +00:00
Thomas Levine
236b8f86c2 dep proposal 2016-04-07 12:32:19 +00:00
Thomas Levine
74e9d95f77 fixtures idea 2016-04-07 12:20:31 +00:00
Thomas Levine
0395ebb5b2 comment the line in tap 2016-04-07 05:19:47 +00:00
Thomas Levine
cebf0d3add update format tests 2016-04-07 05:18:56 +00:00
Thomas Levine
123f04270b md5 format 2016-04-07 03:55:43 +00:00
Thomas Levine
82c81822d3 mktemp templates 2016-04-07 03:51:01 +00:00
Thomas Levine
9fe6058fbf Automatic commit with j 2016-04-07 03:46:38 +00:00
Thomas Levine
e58ae17704 supporting no rsync 2016-04-07 03:41:33 +00:00
Thomas Levine
367ae3f2b1 tests to write 2016-04-07 03:25:45 +00:00
Thomas Levine
5ffd065317 solaris 2016-04-07 03:23:19 +00:00
Thomas Levine
c0239915a2 error 2016-04-07 03:20:39 +00:00
Thomas Levine
b339c5f98e wrong flag 2016-04-07 03:17:08 +00:00
Thomas Levine
92d40c9ff1 DISABLE_CYCLING 2016-04-07 03:13:42 +00:00
Thomas Levine
24ecd302cd document environment variables 2016-04-07 03:12:10 +00:00
Thomas Levine
135c24fd72 hpux exit codes 2016-04-07 03:03:07 +00:00
Thomas Levine
c219f0a0e6 shorter output 2016-04-07 02:54:30 +00:00
Thomas Levine
adf8dc3562 epoch 2016-04-07 02:52:40 +00:00
Thomas Levine
969340bfd6 bugs 2016-04-07 02:52:38 +00:00
Thomas Levine
a484300263 oops 2016-04-07 02:48:58 +00:00
Thomas Levine
e8d946cc5c switch debug to set -x 2016-04-07 02:47:55 +00:00
Thomas Levine
81c4cdeac0 oops 2016-04-07 02:44:22 +00:00
Thomas Levine
b79045c6ee refactor mktemp 2016-04-07 02:42:29 +00:00
Thomas Levine
c6061b377b alternative ways of getting a seconds counter 2016-04-07 02:39:28 +00:00
Thomas Levine
539027db59 find the next bug 2016-04-07 01:59:28 +00:00
Thomas Levine
5e2ecab592 mktemp 2016-04-07 01:58:34 +00:00
Thomas Levine
efe3af6f87 new version 2016-04-07 00:25:32 +00:00
Thomas Levine
f244c22055 another bug 2016-04-07 00:24:52 +00:00
Thomas Levine
2cdd3ec049 fix hpux rsync path 2016-04-07 00:24:06 +00:00
Thomas Levine
6744b2cb4a more on bugs 2016-04-07 00:16:09 +00:00
Thomas Levine
6e32dab0b7 bugs 2016-04-07 00:11:41 +00:00
Thomas Levine
bb3876f334 oops 2016-04-07 00:06:44 +00:00
Thomas Levine
0dc6e01fbc that alias approach was invalid 2016-04-07 00:06:02 +00:00
Thomas Levine
ca71678522 md5 2016-04-07 00:02:11 +00:00
Thomas Levine
9b4f14c937 note on MirBSD 2016-04-06 23:58:58 +00:00
Thomas Levine
27592e58ac untested md5 handler 2016-04-06 23:58:26 +00:00
Thomas Levine
42c09b775b openbsd bug 2016-04-06 23:50:46 +00:00
Thomas Levine
2923d3a8b0 more systems 2016-04-06 23:45:44 +00:00
Thomas Levine
12f458a933 wrong port 2016-04-06 23:26:42 +00:00
Thomas Levine
6c217acae8 oops 2016-04-06 23:21:04 +00:00
Thomas Levine
6a7e58c944 all flags as flags 2016-04-06 23:18:38 +00:00
Thomas Levine
32ac65cf3e more data in filename 2016-04-06 23:14:25 +00:00
Thomas Levine
d1c8f78585 todo 2016-04-06 21:43:18 +00:00
Thomas Levine
132e1695db HISTORY 2016-04-04 21:42:02 +00:00
Thomas Levine
d67185ce25 don't use /dev/stderr 2016-04-04 21:37:47 +00:00
Thomas Levine
16988c48a9 simpler check 2016-04-04 21:29:51 +00:00
Thomas Levine
ddb74d43d8 longer shell list 2016-04-04 21:21:24 +00:00
Thomas Levine
04c4f54789 strange name so we don't have conflicts 2016-04-04 21:10:37 +00:00
Thomas Levine
552d7d0dbc record test command in makefile 2016-04-04 21:07:29 +00:00
Thomas Levine
00c99773d0 run cross-os tests in series
because i sometimes run them on weak computers
2016-04-04 21:04:05 +00:00
Thomas Levine
7899657971 simpler cross-os tests 2016-04-04 20:59:21 +00:00
Thomas Levine
2ee965d2ae start on cross-os tests 2016-04-04 20:55:14 +00:00
Thomas Levine
fdb0b1b3ea LC_COLLATE rather than LC_ALL 2016-04-04 19:15:00 +00:00
Thomas Levine
db3dd1c662 typos 2016-04-04 01:22:05 +00:00
Thomas Levine
a9e0f856fb error message text 2016-04-04 01:17:58 +00:00
Thomas Levine
72f0700598 fixing timeout flag 2016-04-04 01:16:51 +00:00
Thomas Levine
a486a6f296 check timeout error message 2016-04-04 01:07:29 +00:00
Thomas Levine
a9ba8e79d3 suppress timeout errors 2016-04-04 01:04:04 +00:00
Thomas Levine
586f46600a assert that there is no timeout output 2016-04-04 01:03:05 +00:00
Thomas Levine
940cd549ab more timeout tests 2016-04-04 00:58:37 +00:00
Thomas Levine
cd7f773d58 fix debug 2016-04-04 00:42:08 +00:00
Thomas Levine
0de2c3264a version in readme 2016-04-04 00:24:54 +00:00
Thomas Levine
fc51c34019 debug messages 2016-04-01 19:52:34 +00:00
Thomas Levine
c61d31fcea docs 2016-04-01 19:43:02 +00:00
Thomas Levine
6275c28ebf update history 2016-04-01 18:25:53 +00:00
Thomas Levine
b0a7a8b07a remove out-of-date windows screenshots 2016-04-01 18:24:59 +00:00
Thomas Levine
f7ffd82893 fix name 2016-04-01 18:21:26 +00:00
Thomas Levine
a5ffad0446 Automatic commit with j 2016-04-01 18:21:01 +00:00
Thomas Levine
b402f466b5 package for nongnu 2016-04-01 18:20:00 +00:00
Thomas Levine
7a34da0906 packaging 2016-04-01 18:19:28 +00:00
Thomas Levine
3ebe974202 bump version 2016-03-31 22:25:49 +00:00
Thomas Levine
a957ca9065 locale 2016-03-31 20:42:22 +00:00
Thomas Levine
3122b2cc63 remove nix dependencies 2016-03-31 20:00:45 +00:00
Thomas Levine
4f7541b1fd change flag name 2016-03-31 19:56:12 +00:00
Thomas Levine
5b2ab72ee1 change success and failure symbols 2016-03-31 19:54:27 +00:00
Thomas Levine
73035208d3 update | in test 2016-03-31 19:48:40 +00:00
Thomas Levine
64530e8920 count setup better 2016-03-31 19:46:13 +00:00
Thomas Levine
e66551f50f switch # to | so output is easier to read 2016-03-31 19:43:04 +00:00
Thomas Levine
d42079ef38 fix shebang tests 2016-03-31 19:40:46 +00:00
Thomas Levine
5c24879dd8 oops 2016-03-31 19:28:28 +00:00
Thomas Levine
9ea757722a rename 2016-03-31 19:26:37 +00:00
Thomas Levine
72ea60bb8d separate has_shebang_line tests 2016-03-31 19:26:11 +00:00
Thomas Levine
edda2a0e90 fix has_shebang_line test 2016-03-31 19:10:31 +00:00
Thomas Levine
3c5593c812 fix has_shebang_line 2016-03-31 19:06:23 +00:00
Thomas Levine
ce9273abfc test has_shebang_line 2016-03-31 19:05:02 +00:00
Thomas Levine
406e5c360c document sorting 2016-03-31 18:55:28 +00:00
Thomas Levine
cac691805c remove sort_python test 2016-03-31 18:46:45 +00:00
Thomas Levine
635bcc83f2 set LC_ALL for sort 2016-03-31 18:46:26 +00:00
Thomas Levine
1abba45a39 hah 2016-03-31 18:42:54 +00:00
Thomas Levine
79ebe8e3f2 sort 2016-03-31 18:36:31 +00:00
Thomas Levine
e4b2a4e7ea sort 2016-03-31 18:20:54 +00:00
Thomas Levine
da10808f2a sorting 2016-03-31 18:03:24 +00:00
Thomas Levine
3e83e2cb30 use grep -q 2016-03-29 16:57:21 +00:00
Thomas Levine
2b4444dbed revert /bin/sh shebang behavior 2016-03-29 16:54:40 +00:00
Thomas Levine
5604ec97d6 remove obselete docs 2016-03-29 16:51:38 +00:00
Thomas Levine
8ecea33c16 docs on order 2016-03-29 16:50:18 +00:00
Thomas Levine
dd12693da1 test to change #!/bin/sh shell 2016-03-29 16:48:56 +00:00
Thomas Levine
9f76434bfc proofread 2016-03-21 20:28:59 +00:00
Thomas Levine
c96c2d2157 add python and ruby to default 2016-03-18 19:30:46 +00:00
Thomas Levine
9b4c502d25 note JSON.sh 2016-03-13 23:46:58 +00:00
Thomas Levine
74651bd169 update USAGE 2016-03-10 11:12:17 +00:00
Thomas Levine
a7c44cab70 windows download links 2016-03-06 18:39:22 +00:00
Thomas Levine
5cbafb2a78 document .urchin_dir 2016-03-06 15:46:06 +00:00
Thomas Levine
406d6f43f8 sort alternatives 2016-03-06 15:16:16 +00:00
Thomas Levine
1a4b8674ea perl sort 2016-03-06 15:06:34 +00:00
Thomas Levine
6a0e9f3e64 set root-level running in series 2016-03-06 14:55:11 +00:00
Thomas Levine
5ab6a53961 typo 2016-03-06 14:54:49 +00:00
Thomas Levine
edec12c2c0 remove unnecessary recurse call padding 2016-03-06 14:54:42 +00:00
Thomas Levine
8b9747a997 run in series by dir 2016-03-06 14:44:39 +00:00
Thomas Levine
5864d81f55 fix verbosity levels in tests 2016-03-06 14:40:47 +00:00
Thomas Levine
5cd182ff8f look for .urchin_root rather than .urchin 2016-03-06 14:38:56 +00:00
Thomas Levine
de8bda1b32 crashing in todo 2016-03-06 14:37:00 +00:00
77 changed files with 1321 additions and 629 deletions

33
HISTORY
View File

@@ -1,7 +1,17 @@
HISTORY
=======
Version 0.1.0-rc1
Version 0.2.0 (unstable)
---------------------
### Cross-OS testing
I have started testing Urchin across multiple operating systems.
This gives access to more shells, as some shels are easier to install on
certain operating systems.
With this cross-OS test suite, I have extended support to more shells.
A later version of Urchin could include a remote testing feature.
Version 0.1.0 (stable)
---------------------
This release includes breaking changes.
@@ -12,18 +22,18 @@ test suite, as we need to know how far up to apply the setup
and teardown files.
The Urchin root directory is determined by moving higher in the directory
tree in search of a file named `.urchin`.
tree in search of a file named `.urchin_root`.
The closest directory that contains such a file is considered the root.
In the following filesystem, for example, `/a/b/c` would be the root.
mkdir -p /a/b/c/d
touch /a/b/c/d/e
chmod +x /a/b/c/d/e
touch /a/b/c/.urchin
touch /a/b/c/.urchin_root
urchin /a/b/c/d
There are two situations in which we would stop looking without having
found a `.urchin` file.
found a `.urchin_root` file.
1. The system root, `/`, because we can't go any higher
2. A directory that starts with a dot, because an urchin call on a higher
@@ -72,7 +82,7 @@ might look for the dependency and then skip if it does not see the dependency.
It might look like this.
#!/bin/sh
if which inkscape; then
if ! which inkscape; then
exit 3 # status code 3 for skip
fi
inkscape blah blah ...
@@ -97,6 +107,13 @@ turned on.
Parallel processing and shell cycling are both enabled by default.
You may want make only some directories run in series, you can create
".urchin_dir" files in those directories.
If .urchin_dir contains the phrase "series", run that directory in series
rather than in parallel.
This is helpful when directories actually need to run in series
and also when running all your tests in parallel crashes your computer.
### Options
Long options are now available for all command line flags.
For example, the `-s` flag is now available as `--shell` as well.
@@ -164,10 +181,6 @@ set as an environment variable, and the latter was set with the -s flag..
Urchin now uses the -s flag for both of these settings, and it mostly ignores
the exported TEST_SHELL variable.
Urchin also inspects the shebang line differently. Previously, Urchin would
vary the shells with which a test is run if the shebang line either was absent
or was #!/bin/sh. Now it varies the shell only if the shebang line is absent.
If you pass -n/--disable-cycling, Urchin will invoke tests ordinarily and will
only set the TEST_SHELL variable if it does not exist. If the TEST_SHELL
variable is absent, it will be set to /bin/sh.
@@ -229,7 +242,7 @@ other Urchin call), and the test suite is recursively descended. Setup and
teardown files are sourced, and everything but the specified test file is
otherwise ignored.
If you don't explicitly specify the Urchin root with a .urchin file, we
If you don't explicitly specify the Urchin root with a .urchin_root file, we
consider the test suite root directory to be the parent of the file that
you ran Urchin on.

8
Makefile Normal file
View File

@@ -0,0 +1,8 @@
.PHONY: test install
test:
./urchin tests
./urchin -s sh -v ./cross-os-tests
install:
cp ./urchin /usr/bin

42
SORTING
View File

@@ -1,42 +0,0 @@
On the criteria for ordering
==============================
The following sh code creates several files in a directory and then
calls "*", listing them in order.
printf '@ b\n- d\n? a\n~ c\n! e\n' | while read line; do
touch -- "${line}"
done
for file in *; do echo "$file"; done
On one computer, running FreeBSD, the order is apparently ASCIIbetical.
! e
- d
? a
@ b
~ c
On another computer, running NixOS, the following commands print results
in dictionary order. I'm not exactly sure what dictionary order is, but
it is something like sorting on the alphabetical characters before
sorting on the rest of the line.
? a
@ b
~ c
- d
! e
While I don't really know what dictionary order is, I was able to determine
that the above results are in dictionary order because of my investigation of
incompatible implementations of sort. Consider the following two sort
commands.
printf '@ b\n- d\n? a\n~ c\n! e\n' | sort
printf '@ b\n- d\n? a\n~ c\n! e\n' | sort -d
With BSD sort, the first of these commands print ASCIIbetical order and
the second prints dictionary order. With GNU sort, both print dictionary
order.
How annoying.

252
TODO
View File

@@ -26,11 +26,14 @@ Windows
Try running Urchin in Windows somehow. Interpreters include
* CygWin (https://www.cygwin.com/)
* https://cygwin.com/setup-x86.exe
* MSYS (http://mingw.org/wiki/msys)
* GNU on Windows (https://github.com/bmatzelle/gow/wiki)
* Git for Windows (https://git-scm.com/download/win)
* https://github.com/git-for-windows/git/releases/download/v2.7.2.windows.1/Git-2.7.2-32-bit.exe
* win-bash (http://win-bash.sourceforge.net/)
shall
----------
Add shall to my NYC*BUG talk.
@@ -46,15 +49,246 @@ List some shell linters somewhere.
* checkbashisms
Set parallel and series
----------
I want to be able to make only some directories run in series.
* Rename .urchin to .urchin_root.
* Look for a .urchin_dir file.
* If .urchin_dir contains "series", run that directory in series rather
than in parallel.
Rename to something other than "test"?
----------
Maybe wait until I have a use for this.
More sort alternatives
-----------
awk
https://stackoverflow.com/questions/20250937/sorting-lines-in-a-file-alphabetically-using-awk-and-or-sed
bash
https://stackoverflow.com/questions/7442417/how-to-sort-an-array-in-bash
Alternatives
--------------
JSON.sh test suite
Running in multiple environments
-----------------------------------
Setup for other environments includes the following.
* Installing packages
* `touch .zshrc`
* Copy urchin and tests
Fixtures
------------
I want to change the way that fixtures are done.
Instead of using setup, teardown, &c., use ordinary programs from within
your tests. For example.
# tests/.fixtures/tmp-dir
tmp=$(mktemp -d)
cd $tmp
@$
code=$?
cd /
rm -Rf $tmp
exit $code
# tests/blah
../.fixtures/tmp-dir 'blah blah blah'
It's best if I can wrap a bunch of commands in braces or paratheses
rather than just one command. Is there a nice way to do that?
Once I have this new way, I guess I might as well keep the old way.
I think the setup, teardown thing can be easier if you only have simple
fixtures. And since I'm going to keep it, I'm going to add another one.
* setup_dir runs once for the present directory.
* setup_children runs once for each child.
* setup_file runs once for each file descendent.
The present `setup` is renamed to `setup_children`, and the new
`setup_file` runs on each file (not directory) that is a child,
grandchild, great-grandchild, and so on.
Dependency checking
----------------------
You might want to skip tests based on dependencies. Currently you can
conditionally skip tests one at a time by exiting with code 3. I want to
be able to skip an entire directory.
So we add a new magic file called `dep`. If it exists, it is run before
everything else in the directory.
* If it exits with code 0, tests continue as if dep did not exist.
* If it exits with code 3, all tests in the directory are marked as
skipped.
* If it exits with code 1, all tests in the directory are marked as
failed. To make the implementation easier, I'll probably treat the
directory as a single test in this case.
A note on magic files
-------------------------
It is nice to have access to things like setup and dep (magic files)
once in a while, but you need to be doing rather substantial testing
before they make your test suite simpler; the documentation should
strongly recommend writing your tests without magic files and then
refactoring and only then considering moving things to magic files.
Remote testing
----------------
In order to test Urchin across multiple operating systems, I have
already added tests in Urchin's test suite that run Urchin tests in
remote servers. I would like to move this to Urchin itself so that
Urchin can test other things on remote servers.
Urchin's output presently looks like this.
Cycling with the following shells: sh bash dash mksh zsh
Running tests at 2016-04-07T12:33:49
Flags/
> --timeout output
. bash (0 seconds)
. dash (0 seconds)
. mksh (0 seconds)
. sh (0 seconds)
. zsh (0 seconds)
Done, took 1 second.
5 tests passed.
0 tests skipped.
0 tests failed.
After the change, the output should look like this.
Cycling with the following shells: sh dash mksh
Running tests at 2016-04-07T12:33:49
Flags/
> --timeout output
. dash on localhost (0 seconds)
. dash on localhost:8080 (0 seconds)
. dash on tlevine@hpux.polarhome.com (0 seconds)
. mksh on localhost (0 seconds)
. mksh on tlevine@hpux.polarhome.com (0 seconds)
. sh on localhost (0 seconds)
. sh on localhost:8080 (0 seconds)
. sh on tlevine@hpux.polarhome.com (0 seconds)
Done, took 1 second.
8 tests passed.
0 tests skipped.
0 tests failed.
This is just how the output should look; the tests run in whatever order
makes sense.
Bugs
-------
Both md5sum and md5 should be supported.
Trouble logging in to hpux, irix, miros, netbsd, tru64, qnx, ....
$ rsync -e 'ssh -p 785' urchin tlevine@hpux.polarhome.com:.blah
HP-UX hpux.polarhome.com B.11.11 U 9000/785 (ta)
Welcome to HPUX/PA... member of polarhome.com realm
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: remote command not found (code 127) at io.c(226)
[sender=3.1.1]
OpenIndiana grep does not support -q
I get `/urchin: syntax error at line 84: \`}' unexpected` on
unixware and solaris.
mktemp
> tlevine@hpux.polarhome.com -p 785
F sh (8 seconds)
|
| HP-UX hpux.polarhome.com B.11.11 U 9000/785 (ta)
| Welcome to HPUX/PA... member of polarhome.com realm
|
|
| HP-UX hpux.polarhome.com B.11.11 U 9000/785 (ta)
| Welcome to HPUX/PA... member of polarhome.com realm
|
| mktemp: option requires an argument -- d
| ./urchin[96]: /tmp/tlevinea21441/log: Cannot create the specified file.
date
tlevine@hpux64$ ./urchin tests/ -n -vv
date: bad format character - s
So I need a portable seconds-from epoch
I also need to handle when no arguments are passed to urchin.
Exit code is wrong for which on HP-UX
## `$(...)`
Solaris doesn't support `$(...)`; you need `\`...\`` instead.
tlevine@solaris$ ./urchin --run-in-series tests/Errors/
./urchin: syntax error at line 84: `tmp=$' unexpected
I use this a lot.
$ grep -c '\$(' urchin
52
Darn
Update tests to support
* md5
* rsync
* mktemp
* epoch
* Report cycling by default
* New format for reporting cycling
Support systems without rsync
BSD mktemp
| NetBSD 6.1.3
| Welcome to NetBSD ...member of polarhome.com realm
|
| Usage: mktemp [-dqu] [-p <tmpdir>] {-t prefix | template ...}
| mkdir: : No such file or directory
| ./urchin: cannot create /log: permission denied
NetBSD
md5: unknown option -- q
usage: cksum [-n] [-a algorithm [-ptx] [-s string]] [-o 1|2]
[file ... | -c [-w] [sumfile]]
Things I can use to make things better
------------------------
${x##*blah}
$IFS and set --
Redirection, especiall <<-
Maybe fifo
for x in "$@"
until
readonly
getopts
Variable assignments specified with special built-in utilities remain in
effect after the built-in completes; this shall not be the case with a
regular built-in or other utility.

14
cross-os-tests/.run Executable file
View File

@@ -0,0 +1,14 @@
params="$(basename "${0}")"
hostname="$(echo "${params}" | cut -d\ -f1)"
if echo "${params}" | grep -q \ ; then
flags="$(echo "${params}" | cut -d\ -f2-)"
fi
urchin_dir=.urchin-cross-shell-test
rsync --archive -e "ssh ${flags}" $RSYNC_FLAGS \
../urchin ../tests "${hostname}":"${urchin_dir}" ||
scp -r ${flags} ../urchin ../tests "${hostname}":"${urchin_dir}"
ssh "${hostname}" ${flags} \
"cd ${urchin_dir} && ./urchin --run-in-series tests"

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,3 @@
#!/bin/sh
# apt-get install bash dash ksh posh pdksh mksh yash zsh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,3 @@
#!/bin/sh
RSYNC_FLAGS='--rsync-path=/usr/local/bin/rsync'
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,3 @@
#!/bin/sh
# SSH public key needs to be in ~/.etc/ssh/authorized_keys
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

View File

@@ -0,0 +1,2 @@
#!/bin/sh
. ./.run

98
docs/SORTING Normal file
View File

@@ -0,0 +1,98 @@
On the criteria for ordering
==============================
I was confused by the documentation for sort's "-d" flag. This confusion
relates to GNU coreutil's locale-specific sort. [^]
Below I discuss sort order differences between different implementations
of sort and of sh "*" for my particular environments.
Sorting with sort
------------
Consider the following two sort commands.
printf '@ b\n- d\n? a\n~ c\n! e\n' | sort
printf '@ b\n- d\n? a\n~ c\n! e\n' | sort -d
With BusyBox v1.23.2 on NixOS 15.09, the first of these commands returns
ASCIIbetical order,
! e
- d
? a
@ b
~ c
and the second returns dictionary order.
? a
@ b
~ c
- d
! e
With GNU coreutils version 8.24 on NixOS, both commands return
dictionary order. The same is true for GNU coreutils version 8.23 on
Debian Wheezy.
? a
@ b
~ c
- d
! e
IEEE Std 1003.1, 2013 Edition [^^] specifies that the "-d" flag should
enable dictionary order. All of these versions of sort have clear
documentation about the order that should be returned when the "-d" flag
is set, (See --help, man, or info.) and the implementations match the
documentation as far as I can tell.
I have found no explicit documentation from any relevant source as to
what the default sort order should be. On the other hand, they all
suggest that "-d" produces an order different from the default order.
In GNU coreutils 8.24, for example, "-d" is a direction to "consider
only blanks and alphanumeric characters". It lacks any mention that the
"-d" flag has no effect or that it is the default. Furthermore, on my
first reading, I took it to mean that the default is to consider all
characters and that "-d" limits the considered characters to blanks and
alphanumeric characters.
Sorting in *
-------------
I think this is related to the order returned by "*" in sh.
The following sh code creates several files in a directory and then
calls "*", listing them in order.
printf '@ b\n- d\n? a\n~ c\n! e\n' | while read line; do
touch -- "${line}"
done
for file in *; do echo "$file"; done
On one computer, running FreeBSD, the order is apparently
ASCIIbetical.
! e
- d
? a
@ b
~ c
On two GNU systems, running NixOS and Debian, respectively, output is
in dictionary order. I'm not exactly sure what dictionary order is, but
it is something like sorting on the alphabetical characters before
sorting on the rest of the line.
? a
@ b
~ c
- d
! e
(I don't really know what dictionary order is, I was able to determine
that the above results are in dictionary order because of my investigation of
incompatible implementations of sort.)
[^] https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021
[^^] http://pubs.opengroup.org/onlinepubs/9699919799/

109
docs/execution-flow Normal file
View File

@@ -0,0 +1,109 @@
Here I discuss Urchin's general execution flow and how it is handled
specifically when tests are run on remote environments.
Steps of an Urchin run
----------------------
When Urchin runs a directory of files, it goes through the following
steps.
1. Head
2. Test
3. Foot
4. Reporting
Urchin stores files in a temporary directory, creating a new directory
on each invocation. The directory contains these things.
* head (file)
* test (file)
* foot (file)
* stdout (directory)
When run on remotes, the temporary directory corresponding to the local
master process additionally has these files.
* remote-test
Messages from the head, test, and foot steps go in the corresponding
files. In the head and foot phases, messages are just simple prints.
Messages from the test phase always correspond to a particular test
file, and they are written to the test file in a delimiter-separated
format.
Stdout and stderr from test runs are written to files in the stdout
directory, one file per test file per shell that the file is run in.
The reporting phase
----------------------
In most cases Urchin begins printing to the screen only during the
reporting phase. The only case where anything is printed beforehand is
when Urchin is run with -vvvv; that sets "+x", so the commands are
printed as they run, though all other output is still suppressed.
Test results are reported in the reporting phase. Four output formats
are available.
1. Urchin's human-readable format (default)
2. Test Anything Protocol
3. Delimiter-separated values (used internally)
4. Remote Urchin worker output
Most of the output is generated based on the delimiter-separated values
in the test log file. The first two formats also include stdout and
stderr from the tests, depending on verbosity level flags; when it needs
these, Urchin reads them from appropriate files in the temporary
directory.
I could discuss the further details of each format elsewhere.
Remotes
----------------------
When Urchin runs tests on a remote, it copies tests to the remote and
then calls Urchin on the remote with "--format=remote". This specifies
the following.
* The temporary directory should be kept, rather than deleted, after
Urchin runs.
* The path of the temporary directory should be printed as output.
* No other output should be printed to stdout.
After the remote Urchin finishes running, the local urchin downloads
the remote Urchin's test log file from the temporary directory.
It modifies the file to include the remote's name and then concatenates
the result to the "remote-test" file in the local temporary directory.
For example, the file from the remote might look like this,
:sh:Counting tests/.test/faila:0:not_ok
and the result might look like this.
nsa:sh:Counting tests/.test/faila:0:not_ok
This gets processed in the reporting step like usual, according to
whatever format is specified. Instead of printing just "sh" as the
environment in which the particular test was run, the report will print
"sh on nsa".
When it needs the stdout files, it prints them over ssh.
New flags
----------
In making this remotes feature, I wound up adding some others.
-r, --remote SSH host to use as a remote
-F, --format Output format, one of "urchin", "tap", "dsv", "remote"
Urchin runs only locally by default. If you pass at least one --remote
flag, Urchin runs tests only on the specified remotes; it can't run both
locally and remotely in the same run. If you want to do that, you could
wait until I add that feature, or you can add "localhost" as a remote.
Settings that I'm thinking about
* Port for rsync/ssh
* SSH protocol version
* --rsync-path
Can those all be set in ssh_config? Probably not --rsync-path, but
I guess I could just fix it on the remote.

View File

@@ -0,0 +1,39 @@
# A NixOS container to protect against accidental fork bombs
#
# Put this in /var/lib/containers/test/etc/nixos/configuration.nix
# See https://nixos.org/wiki/NixOS:Containers
{ config, lib, pkgs, ... }:
with lib;
{ boot.isContainer = true;
networking.hostName = mkDefault "urchin";
networking.useDHCP = false;
environment.systemPackages = with pkgs; [
# Urchin
bash dash mksh zsh
busybox
# Other
vim git rsync tmux
];
security.pam.loginLimits = [
# Prevent accidental fork bombs.
{ domain = "*"; item = "nproc"; type = "hard"; value = "200"; }
];
services.openssh = {
enable = true;
passwordAuthentication = false;
};
users.extraUsers.user = {
name = "tlevine";
uid = 1000;
isNormalUser = true;
home = "/home/tlevine";
extraGroups = [ "users" "wheel" ];
openssh.authorizedKeys.keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGvQyzr42/96acUTUedaeM2ee+DMt9bkxeurdeXji9sNE10MjjAUFtxPmSI8/BUZW2/a9ByblfaJEI+H+kFVPjVr+QGKXZluxcFMj2BLbH53fi9xLgoQRjb2aAXutb2Bp74/E8R1K+CuFfRRGQ5Spdnv44SLt04D6JbBLcLIcWTpQ4v5RaYr2U27jfiF9z0m+/opxvowEy2gnqlEXFxFk8jZHT4K0uLWm2ENjT6OpyOx8hWcKeAN2vRVRex3pJfSzswn0LpuCrM1rUZ4DRE+FABi8N21Q3MBaMRkwnZPwaZwKzv06q8bu23jYTqK5BrUPtOXeeVuroQXMc12H/6/Nh laptop"
];
};
}

View File

@@ -0,0 +1,36 @@
#!/bin/sh
set -e
# Create the container.
if ! nixos-container list | grep ^urchin$ > /dev/null; then
sudo nixos-container create urchin
fi
# Configure the container.
sudo cp configuration.nix \
/var/lib/containers/urchin/etc/nixos/configuration.nix
sudo nixos-container update urchin
sudo nixos-container start urchin
# Create the git repository.
host="tlevine@$(nixos-container show-ip urchin)"
ssh "${host}" 'if mkdir urchin 2> /dev/null; then
cd urchin
git init
git config --add receive.denyCurrentBranch ignore
fi
'
# Push to the git repository
git push "${host}":urchin
# Print information
echo "Log in:
ssh ${host}
Add git remote
git remote add ${host} container
"

1
packages/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.tar.gz

11
packages/nongnu.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
name=urchin-$(../urchin --version)
tmp=$(mktemp -d)
mkdir $tmp/$name
cp ../urchin ../readme.md ../AUTHORS ../COPYING $tmp/$name
cd $tmp
tar czf $name.tar.gz $name
cd - > /dev/null
mv $tmp/$name.tar.gz .
rm -R $tmp

View File

@@ -21,8 +21,10 @@ is like. Clone the repository
Run the tests
cd urchin
./urchin tests
```sh
cd urchin
./urchin tests
```
## Dependencies
Urchin depends on the following programs.
@@ -43,26 +45,18 @@ Urchin depends on the following programs.
* timeout
* sort
All of the above programs are usually included on base BSD installations.
On GNU systems it should be sufficient to install the busybox package.
Urchin uses sort to format its output. GNU sort (as of GNU coreutils version
8.24) lacks the ability to sort in lexicographic order, and this feature is
necessary for the output to look right. If your version of sort lacks this
feature, Urchin will try to use one of the following tools for sorting.
If no acceptable sorting program is available, Urchin will print a warning
and use the incomplete sort that is installed on your system. This is not a
big deal; if your test files all start with alphanumeric letters, the output
should look fine.
Vanilla installations of modern BSD and GNU systems usually include all
of these programs.
## Install
Urchin is contained in a single file, so you can install it by copying it to a
directory in your `PATH`. For example, you can run the following as root.
cd /usr/local/bin
wget https://raw.githubusercontent.com/tlevine/urchin/v0.0.6/urchin
chmod +x urchin
```sh
cd /usr/local/bin
wget https://raw.githubusercontent.com/tlevine/urchin/v0.1.0-rc3/urchin
chmod +x urchin
```
Urchin can be installed with npm too.
@@ -118,13 +112,39 @@ Files are only run if they are executable, and files beginning with `.` are
ignored. Thus, fixtures and libraries can be included sloppily within the test
directory tree. The test passes if the file exits 0; otherwise, it fails.
Tests files and subdirectories are run in ASCIIbetical order within each
directory; that is,
urchin looks for files within a directory in the following manner.
urchin looks for files within a directory in the following manner,
for file in *; do
do_something_with_test_file $file
done
```sh
for file in *; do
do_something_with_test_file $file
done
```
so files are run in whatever order `*` produces. The order is
configured in your environment, at least in
[GNU systems](https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021).
Other systems may ignore the locales configured in the environment and
always produce ASCIIbetical order.
Results are always printed in ASCIIbetical order, regardless of what
order the tests ran in.
Below you can see how the locale can affect the order.
```sh
$ printf '!c\n@a\n~b\n' | LC_COLLATE=C sort
!c
@a
~b
$ printf '!c\n@a\n~b\n' | LC_COLLATE=en_US.UTF-8 sort
@a
~b
!c
$ printf '!c\n@a\n~b\n' | sort -d
@a
~b
!c
```
### Writing cross-shell compatibility tests for testing shell code
@@ -179,14 +199,9 @@ shell.)
Note that only test scripts that either have no shebang line at all or
have shebang line `#!/bin/sh` are invoked with the specified shell.
This allows non-shell test scripts or test scripts for specific
shells to coexist with those whose invocation should be controlled by `-s`.
To test with multiple shells in sequence, use something like:
for shell in sh bash ksh zsh; do
urchin -s $shell ./tests
done
This allows non-shell test scripts or test scripts for other languages
or for specific shells to coexist with those whose invocation should be
controlled by `-s`.
## References

1
tests/.urchin_dir Normal file
View File

@@ -0,0 +1 @@
series

View File

@@ -1,6 +0,0 @@
#!/bin/sh
# This script should run with /bin/sh
# regardless of whether -s or -n is passed.
ps -o pid,comm,args | grep $$ | grep /bin/sh

View File

@@ -0,0 +1,6 @@
#!/bin/sh
# Assuming that urchin was invoked with `-s bash`,
# this script should be being run with bash.
ps -o pid,comm,args | grep $$ | grep .special-shell

View File

@@ -1 +1 @@
! $TEST_SHELL ../../urchin ../Flags/Urchin\ format|grep -- --color
! $TEST_SHELL ../../urchin ../Flags/Urchin\ format|grep -- --pretty

View File

@@ -0,0 +1,2 @@
../../urchin -T aoeu .testsuite 2>&1 | grep Bad
../../urchin -T .testsuite 2>&1 | grep Bad

View File

@@ -1,3 +1 @@
set -e
$TEST_SHELL ../../urchin --shell sh .slow-tests
! $TEST_SHELL ../../urchin --shell sh --timeout 0.3 .slow-tests

4
tests/Flags/--timeout output Executable file
View File

@@ -0,0 +1,4 @@
$TEST_SHELL ../../urchin --shell sh --timeout 0.3 .slow-tests 2>&1 |
grep -v -- --timeout |
grep timeout
test $? = 1

1
tests/Flags/--timeout success Executable file
View File

@@ -0,0 +1 @@
$TEST_SHELL ../../urchin --shell sh .slow-tests --timeout 1000

View File

@@ -1,7 +1,7 @@
#!/bin/sh
set -e
! $TEST_SHELL ../../urchin --run-in-series --exit-on-fail \
! $TEST_SHELL ../../urchin -vv --run-in-series --exit-on-fail \
./.test_-e,--exit-on-fail > $tmp
grep '1 should run.' $tmp

View File

@@ -1,11 +1,11 @@
./
> a
sh (1 second)
# This is stdout from a.
F sh (1 second)
| This is stdout from a.
./
> b
sh (1 second)
. sh (1 second)
./
> c
(File is not executable.)

View File

@@ -2,7 +2,7 @@
./
> a
✗ sh (1 second)
# This is stdout from a.
| This is stdout from a.
./
> b
✓ sh (1 second)

View File

@@ -1,3 +1,3 @@
$TEST_SHELL ../../urchin -s sh -t .testsuite/ |
sed -e 1d -e /second/d > $tmp
$TEST_SHELL ../../urchin -v -s sh -t .testsuite/ |
sed -e 1,2\ d -e /second/d > $tmp
diff $tmp .tap-output-expectation

View File

@@ -0,0 +1,5 @@
lines=$(
$TEST_SHELL ../../urchin -v -s sh -t .testsuite/ |
tee $tmp | grep -v '^#' | wc -l)
cat $tmp
test $lines -eq 4

View File

@@ -1,3 +1,3 @@
$TEST_SHELL ../../urchin -vv -s sh .testsuite/ |
sed -e 1d -e 's/. seconds\?/1 second/' > $tmp
sed -e 1,2\ d -e 's/. seconds\?/1 second/' > $tmp
diff $tmp .urchin-output-expectation

View File

@@ -1,3 +1,3 @@
$TEST_SHELL ../../urchin --color -vv --shell sh .testsuite/ |
sed -e 1d -e 's/. seconds\?/1 second/' > $tmp
$TEST_SHELL ../../urchin --pretty -vv --shell sh .testsuite/ |
sed -e 1,2\ d -e 's/. seconds\?/1 second/' > $tmp
diff $tmp .urchin-output-expectation-color

View File

@@ -0,0 +1,3 @@
echo "$1" > $tmp
NO_MAIN= . ../../../urchin
has_shebang_line $tmp

View File

@@ -0,0 +1 @@
./.run '#!/bin/bash'

View File

@@ -0,0 +1 @@
! ./.run ''

View File

@@ -0,0 +1,5 @@
! ./.run '
'

View File

@@ -0,0 +1 @@
./.run '#!/usr/bin/env true'

View File

@@ -0,0 +1 @@
export tmp=$(mktemp)

View File

@@ -0,0 +1 @@
! ./.run '#!/bin/sh'

View File

@@ -0,0 +1 @@
rm -R "$tmp"

View File

@@ -1,4 +0,0 @@
set -e
TESTING_URCHIN_INTERNALS=true . ../../urchin
unsorted='@ b\n- d\n? a\n~ c\n! e\n'
test $(printf "${unsorted}" | sort_python | cut -d\ -f2|tr -d '\n') = edabc

View File

@@ -0,0 +1,3 @@
#!/bin/sh
[ $(grep -c 'setup has run' $log) -eq '1' ]

View File

@@ -0,0 +1,3 @@
#!/bin/sh
[ $(grep -c 'setup has run' $log) -eq '2' ]

View File

@@ -1,3 +0,0 @@
#!/bin/sh
[ $(grep -c 'setup has run' $log) -gt '2' ]

View File

@@ -1,3 +0,0 @@
#!/bin/sh
[ $(grep -c 'setup has run' $log) -gt '2' ]

1102
urchin

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB