mirror of
https://github.com/eza-community/eza
synced 2024-09-29 20:54:59 +00:00
test(powertest): powertests using generated testdirs
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
parent
2273e29bc0
commit
4f949fc9bb
|
@ -163,7 +163,7 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"narHash": "sha256-ZiOjGJPz2KaeWpPYD71rLGD+Y8OOeUFL9q6COkI6fCU=",
|
||||
"narHash": "sha256-DaBLTu/GCq7lDWyR9HKj9H1t5mfX7T1eFwrIwJICXZo=",
|
||||
"type": "tarball",
|
||||
"url": "http://rime.cx/v1/github/eza-community/powertest/b/main.tar.gz"
|
||||
},
|
||||
|
|
|
@ -2,7 +2,7 @@ dump_dir: tests/ptests
|
|||
depth: 1
|
||||
binary: eza
|
||||
gen_binary: target/debug/eza
|
||||
args: tests/itest
|
||||
args: tests/test_dir
|
||||
commands:
|
||||
? - null
|
||||
- --color
|
||||
|
@ -18,10 +18,10 @@ commands:
|
|||
- never
|
||||
? - null
|
||||
- --icons
|
||||
:
|
||||
? - -L
|
||||
- --level
|
||||
: prefix:
|
||||
--tree
|
||||
: prefix: --tree
|
||||
values:
|
||||
- 1
|
||||
- 2
|
||||
|
@ -41,11 +41,11 @@ commands:
|
|||
: prefix: -l
|
||||
values:
|
||||
- modified
|
||||
- accessed
|
||||
#- accessed BROKEN
|
||||
- changed
|
||||
- created
|
||||
# TODO: add more globs
|
||||
? - -I
|
||||
#- created
|
||||
? # TODO: add more globs
|
||||
- -I
|
||||
- --ignore-glob
|
||||
: prefix: -l
|
||||
values:
|
||||
|
@ -65,10 +65,10 @@ commands:
|
|||
long: time-style
|
||||
prefix: -l
|
||||
values:
|
||||
- accessed
|
||||
#- accessed
|
||||
- age
|
||||
- changed
|
||||
- created
|
||||
#- created
|
||||
- date
|
||||
- Ext
|
||||
- ext
|
||||
|
@ -86,4 +86,3 @@ commands:
|
|||
- size
|
||||
- time
|
||||
- type
|
||||
|
||||
|
|
|
@ -1,21 +1,9 @@
|
|||
.rw-r--r-- 0 nixbld 1 Jan 1970 a
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 b
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 c
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 d
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 e
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 exa
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 f
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 g
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 h
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 i
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 image.jpg.img.c.rs.log.png
|
||||
.rw-r--r-- 19 nixbld 1 Jan 1970 index.svg
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 j
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 k
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 l
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 m
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 n
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 o
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 p
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 q
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 vagrant
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 icons
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 perms
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 size
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 specials
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 symlinks
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 time
|
||||
|
|
|
@ -1,21 +1,9 @@
|
|||
.rw-r--r-- 0 nixbld 1 Jan 1970 a
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 b
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 c
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 d
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 e
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 exa
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 f
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 g
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 h
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 i
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 image.jpg.img.c.rs.log.png
|
||||
.rw-r--r-- 19 nixbld 1 Jan 1970 index.svg
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 j
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 k
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 l
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 m
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 n
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 o
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 p
|
||||
.rw-r--r-- 0 nixbld 1 Jan 1970 q
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 vagrant
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 icons
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 perms
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 size
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 specials
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 symlinks
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 time
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 - - git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - - grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - - group
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - - icons
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - - perms
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - - size
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - - specials
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - - symlinks
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - - time
|
|
@ -1,9 +0,0 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 - git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - group
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - icons
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - perms
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - size
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - specials
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - symlinks
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 - time
|
9
tests/gen/ptest_tests_test_dir_--color_always.stdout
Normal file
9
tests/gen/ptest_tests_test_dir_--color_always.stdout
Normal file
|
@ -0,0 +1,9 @@
|
|||
[1;34mgit[0m
|
||||
[1;34mgrid[0m
|
||||
[1;34mgroup[0m
|
||||
[1;34micons[0m
|
||||
[1;34mperms[0m
|
||||
[1;34msize[0m
|
||||
[1;34mspecials[0m
|
||||
[1;34msymlinks[0m
|
||||
[1;34mtime[0m
|
0
tests/gen/ptest_tests_test_dir_--color_auto.stderr
Normal file
0
tests/gen/ptest_tests_test_dir_--color_auto.stderr
Normal file
9
tests/gen/ptest_tests_test_dir_--color_auto.stdout
Normal file
9
tests/gen/ptest_tests_test_dir_--color_auto.stdout
Normal file
|
@ -0,0 +1,9 @@
|
|||
git
|
||||
grid
|
||||
group
|
||||
icons
|
||||
perms
|
||||
size
|
||||
specials
|
||||
symlinks
|
||||
time
|
0
tests/gen/ptest_tests_test_dir_--color_never.stderr
Normal file
0
tests/gen/ptest_tests_test_dir_--color_never.stderr
Normal file
9
tests/gen/ptest_tests_test_dir_--color_never.stdout
Normal file
9
tests/gen/ptest_tests_test_dir_--color_never.stdout
Normal file
|
@ -0,0 +1,9 @@
|
|||
git
|
||||
grid
|
||||
group
|
||||
icons
|
||||
perms
|
||||
size
|
||||
specials
|
||||
symlinks
|
||||
time
|
9
tests/gen/ptest_tests_test_dir_--colour_always.stdout
Normal file
9
tests/gen/ptest_tests_test_dir_--colour_always.stdout
Normal file
|
@ -0,0 +1,9 @@
|
|||
[1;34mgit[0m
|
||||
[1;34mgrid[0m
|
||||
[1;34mgroup[0m
|
||||
[1;34micons[0m
|
||||
[1;34mperms[0m
|
||||
[1;34msize[0m
|
||||
[1;34mspecials[0m
|
||||
[1;34msymlinks[0m
|
||||
[1;34mtime[0m
|
0
tests/gen/ptest_tests_test_dir_--colour_auto.stderr
Normal file
0
tests/gen/ptest_tests_test_dir_--colour_auto.stderr
Normal file
9
tests/gen/ptest_tests_test_dir_--colour_auto.stdout
Normal file
9
tests/gen/ptest_tests_test_dir_--colour_auto.stdout
Normal file
|
@ -0,0 +1,9 @@
|
|||
git
|
||||
grid
|
||||
group
|
||||
icons
|
||||
perms
|
||||
size
|
||||
specials
|
||||
symlinks
|
||||
time
|
9
tests/gen/ptest_tests_test_dir_--colour_never.stdout
Normal file
9
tests/gen/ptest_tests_test_dir_--colour_never.stdout
Normal file
|
@ -0,0 +1,9 @@
|
|||
git
|
||||
grid
|
||||
group
|
||||
icons
|
||||
perms
|
||||
size
|
||||
specials
|
||||
symlinks
|
||||
time
|
0
tests/gen/ptest_tests_test_dir_--icons_.stderr
Normal file
0
tests/gen/ptest_tests_test_dir_--icons_.stderr
Normal file
9
tests/gen/ptest_tests_test_dir_--icons_.stdout
Normal file
9
tests/gen/ptest_tests_test_dir_--icons_.stdout
Normal file
|
@ -0,0 +1,9 @@
|
|||
git
|
||||
grid
|
||||
group
|
||||
icons
|
||||
perms
|
||||
size
|
||||
specials
|
||||
symlinks
|
||||
time
|
|
@ -0,0 +1,9 @@
|
|||
git
|
||||
grid
|
||||
group
|
||||
icons
|
||||
perms
|
||||
size
|
||||
specials
|
||||
symlinks
|
||||
time
|
|
@ -0,0 +1,9 @@
|
|||
git
|
||||
grid
|
||||
group
|
||||
icons
|
||||
perms
|
||||
size
|
||||
specials
|
||||
symlinks
|
||||
time
|
9
tests/gen/ptest_tests_test_dir_--time-style_iso.stdout
Normal file
9
tests/gen/ptest_tests_test_dir_--time-style_iso.stdout
Normal file
|
@ -0,0 +1,9 @@
|
|||
git
|
||||
grid
|
||||
group
|
||||
icons
|
||||
perms
|
||||
size
|
||||
specials
|
||||
symlinks
|
||||
time
|
|
@ -0,0 +1,9 @@
|
|||
git
|
||||
grid
|
||||
group
|
||||
icons
|
||||
perms
|
||||
size
|
||||
specials
|
||||
symlinks
|
||||
time
|
|
@ -0,0 +1,9 @@
|
|||
git
|
||||
grid
|
||||
group
|
||||
icons
|
||||
perms
|
||||
size
|
||||
specials
|
||||
symlinks
|
||||
time
|
10
tests/gen/ptest_tests_test_dir_--tree_--level_1.stdout
Normal file
10
tests/gen/ptest_tests_test_dir_--tree_--level_1.stdout
Normal file
|
@ -0,0 +1,10 @@
|
|||
tests/test_dir
|
||||
├── git
|
||||
├── grid
|
||||
├── group
|
||||
├── icons
|
||||
├── perms
|
||||
├── size
|
||||
├── specials
|
||||
├── symlinks
|
||||
└── time
|
2055
tests/gen/ptest_tests_test_dir_--tree_--level_2.stdout
Normal file
2055
tests/gen/ptest_tests_test_dir_--tree_--level_2.stdout
Normal file
File diff suppressed because it is too large
Load diff
2155
tests/gen/ptest_tests_test_dir_--tree_--level_3.stdout
Normal file
2155
tests/gen/ptest_tests_test_dir_--tree_--level_3.stdout
Normal file
File diff suppressed because it is too large
Load diff
2155
tests/gen/ptest_tests_test_dir_--tree_--level_4.stdout
Normal file
2155
tests/gen/ptest_tests_test_dir_--tree_--level_4.stdout
Normal file
File diff suppressed because it is too large
Load diff
2155
tests/gen/ptest_tests_test_dir_--tree_--level_5.stdout
Normal file
2155
tests/gen/ptest_tests_test_dir_--tree_--level_5.stdout
Normal file
File diff suppressed because it is too large
Load diff
0
tests/gen/ptest_tests_test_dir_--tree_-L_1.stderr
Normal file
0
tests/gen/ptest_tests_test_dir_--tree_-L_1.stderr
Normal file
10
tests/gen/ptest_tests_test_dir_--tree_-L_1.stdout
Normal file
10
tests/gen/ptest_tests_test_dir_--tree_-L_1.stdout
Normal file
|
@ -0,0 +1,10 @@
|
|||
tests/test_dir
|
||||
├── git
|
||||
├── grid
|
||||
├── group
|
||||
├── icons
|
||||
├── perms
|
||||
├── size
|
||||
├── specials
|
||||
├── symlinks
|
||||
└── time
|
0
tests/gen/ptest_tests_test_dir_--tree_-L_2.stderr
Normal file
0
tests/gen/ptest_tests_test_dir_--tree_-L_2.stderr
Normal file
2055
tests/gen/ptest_tests_test_dir_--tree_-L_2.stdout
Normal file
2055
tests/gen/ptest_tests_test_dir_--tree_-L_2.stdout
Normal file
File diff suppressed because it is too large
Load diff
0
tests/gen/ptest_tests_test_dir_--tree_-L_3.stderr
Normal file
0
tests/gen/ptest_tests_test_dir_--tree_-L_3.stderr
Normal file
2155
tests/gen/ptest_tests_test_dir_--tree_-L_3.stdout
Normal file
2155
tests/gen/ptest_tests_test_dir_--tree_-L_3.stdout
Normal file
File diff suppressed because it is too large
Load diff
0
tests/gen/ptest_tests_test_dir_--tree_-L_4.stderr
Normal file
0
tests/gen/ptest_tests_test_dir_--tree_-L_4.stderr
Normal file
2155
tests/gen/ptest_tests_test_dir_--tree_-L_4.stdout
Normal file
2155
tests/gen/ptest_tests_test_dir_--tree_-L_4.stdout
Normal file
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue