mirror of
https://github.com/eza-community/eza
synced 2024-10-04 15:09:49 +00:00
test(powertests): add hashed versions of powertests
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
parent
cf0c57d7ad
commit
6ea8ff4715
6
Justfile
6
Justfile
|
@ -230,14 +230,14 @@ gen_test_dir:
|
|||
rm ./tests/gen/*_nix.stdout -f || echo
|
||||
rm ./tests/gen/*_unix.stderr -f || echo
|
||||
rm ./tests/gen/*_unix.stdout -f || echo
|
||||
rm ./tests/ptests/ptest_tests*.stderr -f || echo
|
||||
rm ./tests/ptests/ptest_tests*.stdout -f || echo
|
||||
rm ./tests/ptests/ptest_*.stderr -f || echo
|
||||
rm ./tests/ptests/ptest_*.stdout -f || echo
|
||||
|
||||
nix build -L ./#trydump
|
||||
|
||||
cp ./result/dump/*nix.* ./tests/cmd/
|
||||
cp ./result/dump/*.std* ./tests/gen/
|
||||
cp ./result/dump/ptest_tests*.* ./tests/ptests/
|
||||
cp ./result/dump/ptest_*.* ./tests/ptests/
|
||||
|
||||
@itest-gen:
|
||||
nix build -L ./#trycmd
|
||||
|
|
|
@ -42,7 +42,7 @@ commands:
|
|||
values:
|
||||
- modified
|
||||
#- accessed BROKEN
|
||||
- changed
|
||||
#- changed
|
||||
#- created
|
||||
? # TODO: add more globs
|
||||
- -I
|
||||
|
@ -67,7 +67,7 @@ commands:
|
|||
values:
|
||||
#- accessed
|
||||
- age
|
||||
- changed
|
||||
#- changed
|
||||
#- created
|
||||
- date
|
||||
- Ext
|
||||
|
|
1
tests/gen/inexistant_file_unix.stderr
Normal file
1
tests/gen/inexistant_file_unix.stderr
Normal file
|
@ -0,0 +1 @@
|
|||
"nonexistentdir": No such file or directory (os error 2)
|
9
tests/gen/long_binary_bytes_unix.stdout
Normal file
9
tests/gen/long_binary_bytes_unix.stdout
Normal file
|
@ -0,0 +1,9 @@
|
|||
- git
|
||||
- grid
|
||||
- group
|
||||
- icons
|
||||
- perms
|
||||
- size
|
||||
- specials
|
||||
- symlinks
|
||||
- time
|
9
tests/gen/long_blocksize_nix.stdout
Normal file
9
tests/gen/long_blocksize_nix.stdout
Normal file
|
@ -0,0 +1,9 @@
|
|||
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/long_file_size_unix.stdout
Normal file
9
tests/gen/long_file_size_unix.stdout
Normal file
|
@ -0,0 +1,9 @@
|
|||
- git
|
||||
- grid
|
||||
- group
|
||||
- icons
|
||||
- perms
|
||||
- size
|
||||
- specials
|
||||
- symlinks
|
||||
- time
|
10
tests/gen/long_header_nix.stdout
Normal file
10
tests/gen/long_header_nix.stdout
Normal file
|
@ -0,0 +1,10 @@
|
|||
Permissions Size User Date Modified Name
|
||||
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
|
10
tests/gen/long_header_unix.stdout
Normal file
10
tests/gen/long_header_unix.stdout
Normal file
|
@ -0,0 +1,10 @@
|
|||
Size Name
|
||||
- git
|
||||
- grid
|
||||
- group
|
||||
- icons
|
||||
- perms
|
||||
- size
|
||||
- specials
|
||||
- symlinks
|
||||
- time
|
4194
tests/gen/long_links_recurse_unix.stdout
Normal file
4194
tests/gen/long_links_recurse_unix.stdout
Normal file
File diff suppressed because it is too large
Load diff
9
tests/gen/long_octal_nix.stdout
Normal file
9
tests/gen/long_octal_nix.stdout
Normal file
|
@ -0,0 +1,9 @@
|
|||
0755 drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
0755 drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
0755 drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
0755 drwxr-xr-x - nixbld 1 Jan 1970 icons
|
||||
0755 drwxr-xr-x - nixbld 1 Jan 1970 perms
|
||||
0755 drwxr-xr-x - nixbld 1 Jan 1970 size
|
||||
0755 drwxr-xr-x - nixbld 1 Jan 1970 specials
|
||||
0755 drwxr-xr-x - nixbld 1 Jan 1970 symlinks
|
||||
0755 drwxr-xr-x - nixbld 1 Jan 1970 time
|
9
tests/gen/long_time_style_relative_nix.stdout
Normal file
9
tests/gen/long_time_style_relative_nix.stdout
Normal file
|
@ -0,0 +1,9 @@
|
|||
drwxr-xr-x - nixbld 53 years git
|
||||
drwxr-xr-x - nixbld 53 years grid
|
||||
drwxr-xr-x - nixbld 53 years group
|
||||
drwxr-xr-x - nixbld 53 years icons
|
||||
drwxr-xr-x - nixbld 53 years perms
|
||||
drwxr-xr-x - nixbld 53 years size
|
||||
drwxr-xr-x - nixbld 53 years specials
|
||||
drwxr-xr-x - nixbld 53 years symlinks
|
||||
drwxr-xr-x - nixbld 53 years time
|
3060
tests/gen/only_dir_recursive_long_unix.stdout
Normal file
3060
tests/gen/only_dir_recursive_long_unix.stdout
Normal file
File diff suppressed because it is too large
Load diff
3060
tests/gen/only_dir_recursive_unix.stdout
Normal file
3060
tests/gen/only_dir_recursive_unix.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