test(powertest): powertests using generated testdirs

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
Christina Sørensen 2023-11-12 11:18:02 +01:00
parent 2273e29bc0
commit 4f949fc9bb
306 changed files with 17923 additions and 73 deletions

View File

@ -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"
},

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,9 @@
git
grid
group
icons
perms
size
specials
symlinks
time

View File

@ -0,0 +1,9 @@
git
grid
group
icons
perms
size
specials
symlinks
time

View File

@ -0,0 +1,9 @@
git
grid
group
icons
perms
size
specials
symlinks
time

View File

@ -0,0 +1,9 @@
git
grid
group
icons
perms
size
specials
symlinks
time

View File

@ -0,0 +1,9 @@
git
grid
group
icons
perms
size
specials
symlinks
time

View File

@ -0,0 +1,9 @@
git
grid
group
icons
perms
size
specials
symlinks
time

View File

@ -0,0 +1,9 @@
git
grid
group
icons
perms
size
specials
symlinks
time

View File

@ -0,0 +1,9 @@
git
grid
group
icons
perms
size
specials
symlinks
time

View File

@ -0,0 +1,9 @@
git
grid
group
icons
perms
size
specials
symlinks
time

View File

@ -0,0 +1,9 @@
git
grid
group
icons
perms
size
specials
symlinks
time

View File

@ -0,0 +1,9 @@
git
grid
group
icons
perms
size
specials
symlinks
time

View File

@ -0,0 +1,9 @@
git
grid
group
icons
perms
size
specials
symlinks
time

View File

@ -0,0 +1,10 @@
tests/test_dir
├── git
├── grid
├── group
├── icons
├── perms
├── size
├── specials
├── symlinks
└── time

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,10 @@
tests/test_dir
├── git
├── grid
├── group
├── icons
├── perms
├── size
├── specials
├── symlinks
└── time

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

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