test: Implements tests using the generated directory

Picked from #592
This commit is contained in:
MartinFillon 2023-11-01 22:02:37 +01:00 committed by Christina Sørensen
parent d6d02d14e8
commit 2273e29bc0
144 changed files with 23415 additions and 730 deletions

View File

@ -124,6 +124,7 @@ nix-local = []
# Should only be used inside of flake.nix
# Shouldn't ever be used in CI (slow!)
powertest = []
nix-generated = []
# use LTO for smaller binaries (that take longer to build)
[profile.release]

141
Justfile
View File

@ -214,134 +214,7 @@ alias gen := gen_test_dir
test_dir := "tests/test_dir"
gen_test_dir:
#!/usr/bin/env bash
rm {{test_dir}} -rf;
mkdir -p {{test_dir}}
cd {{test_dir}};
sudo groupadd -f eza_test
# BEGIN grid
mkdir -p grid
cd grid
mkdir $(seq -w 001 1000);
seq 0001 1000 | split -l 1 -a 3 -d - file_
# Set time to unix epoch
touch --date=@0 *;
cd ..
# END grid
# BEGIN git
mkdir -p git
cd git
mkdir $(seq -w 001 10);
for f in ./*
do
cd $f
git init
seq 01 10 | split -l 1 -a 3 -d - file_
cd ..
done
cd ..
# END git
# BEGIN test_root
sudo mkdir root
sudo chmod 777 root
sudo mkdir root/empty
# END test_root
# BEGIN mknod
mkdir -p specials
sudo mknod specials/block-device b 3 60
sudo mknod specials/char-device c 14 40
sudo mknod specials/named-pipe p
# END test_root
# BEGIN test_symlinks
mkdir -p symlinks
touch symlinks/file --date=@0
ln -s file symlinks/symlink
ln -s symlink symlinks/symlink2
mkdir -p symlinks/dir
ln -s dir symlinks/symlink3
ln -s pipitek symlinks/symlink4
# END test_symlinks
# BEGIN test_perms
mkdir -p perms
touch perms/file --date=@0
touch perms/file2 --date=@0
chmod 777 perms/file
chmod 001 perms/file2
# END test_perms
# BEGIN test_group
mkdir -p group
touch group/file --date=@0
sudo chgrp eza_test group/file
# END test_group
# BEGIN test_size
mkdir -p size
touch size/1M --date=@0
dd if=/dev/zero of=size/1M bs=1 count=0 seek=1M
touch size/1K --date=@0
dd if=/dev/zero of=size/1K bs=1 count=0 seek=1K
touch size/1B --date=@0
dd if=/dev/zero of=size/1B bs=1 count=0 seek=1
touch size/1337 --date=@0
dd if=/dev/zero of=size/1337 bs=1 count=0 seek=1337
# END test_size
# BEGIN test_time
mkdir -p time
touch time/epoch --date=@0
touch time/1s --date=@1
touch time/1m --date=@60
touch time/1h --date=@3600
touch time/1d --date=@86400
touch time/1y --date=@31536000
# END test_time
# BEGIN test_icons
mkdir -p icons
touch icons/file --date=@0
touch icons/go.go --date=@0
touch icons/rust.rs --date=@0
touch icons/c.c --date=@0
touch icons/c++.cpp --date=@0
touch icons/python.py --date=@0
touch icons/java.java --date=@0
touch icons/javascript.js --date=@0
touch icons/html.html --date=@0
touch icons/css.css --date=@0
touch icons/php.php --date=@0
touch icons/ruby.rb --date=@0
touch icons/shell.sh --date=@0
touch icons/unknown.unknown --date=@0
touch icons/man.1 --date=@0
touch icons/marked.md --date=@0
# END test_icons
eza -l --grid;
bash devtools/dir-generator.sh {{ test_dir }}
# Runs integration tests in nix sandbox
#
@ -353,10 +226,18 @@ gen_test_dir:
#
# WARNING: this can cause loss of work
@idump:
rm ./tests/cmd/*nix.stderr -f || echo
rm ./tests/cmd/*nix.stdout -f || echo
rm ./tests/gen/*_nix.stderr -f || echo
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
nix build -L ./#trydump
cp ./result/dump/*nix.* ./tests/cmd/
cp ./result/dump/*.std* ./tests/gen/
cp ./result/dump/ptest_tests*.* ./tests/ptests/
@itest-gen:
nix build -L ./#trycmd

136
devtools/dir-generator.sh Normal file
View File

@ -0,0 +1,136 @@
#!/usr/bin/env bash
if [ -z "$1" ]; then
echo "Usage: $0 <output_dir>";
exit 1;
fi
rm "$1" -rf;
mkdir -p "$1";
cd "$1" || exit;
sudo groupadd -f eza_test
# BEGIN grid
mkdir -p grid
cd grid || exit
mkdir $(seq -w 001 1000);
seq 0001 1000 | split -l 1 -a 3 -d - file_
# Set time to unix epoch
touch --date=@0 ./*;
cd .. || exit
# END grid
# BEGIN git
mkdir -p git
cd git || exit
mkdir $(seq -w 001 10);
for f in ./*
do
cd "$f" || exit
git init
seq 01 10 | split -l 1 -a 3 -d - file_
cd .. || exit
done
cd ..
# END git
# BEGIN test_root
sudo mkdir root
sudo chmod 777 root
sudo mkdir root/empty
# END test_root
# BEGIN mknod
mkdir -p specials
sudo mknod specials/block-device b 3 60
sudo mknod specials/char-device c 14 40
sudo mknod specials/named-pipe p
# END test_root
# BEGIN test_symlinks
mkdir -p symlinks
touch symlinks/file --date=@0
ln -s file symlinks/symlink
ln -s symlink symlinks/symlink2
mkdir -p symlinks/dir
ln -s dir symlinks/symlink3
ln -s pipitek symlinks/symlink4
# END test_symlinks
# BEGIN test_perms
mkdir -p perms
touch perms/file --date=@0
touch perms/file2 --date=@0
chmod 777 perms/file
chmod 001 perms/file2
# END test_perms
# BEGIN test_group
mkdir -p group
touch group/file --date=@0
sudo chgrp eza_test group/file
# END test_group
# BEGIN test_size
mkdir -p size
touch size/1M --date=@0
dd if=/dev/zero of=size/1M bs=1 count=0 seek=1M
touch size/1K --date=@0
dd if=/dev/zero of=size/1K bs=1 count=0 seek=1K
touch size/1B --date=@0
dd if=/dev/zero of=size/1B bs=1 count=0 seek=1
touch size/1337 --date=@0
dd if=/dev/zero of=size/1337 bs=1 count=0 seek=1337
# END test_size
# BEGIN test_time
mkdir -p time
touch time/epoch --date=@0
touch time/1s --date=@1
touch time/1m --date=@60
touch time/1h --date=@3600
touch time/1d --date=@86400
touch time/1y --date=@31536000
# END test_time
# BEGIN test_icons
mkdir -p icons
touch icons/file --date=@0
touch icons/go.go --date=@0
touch icons/rust.rs --date=@0
touch icons/c.c --date=@0
touch icons/c++.cpp --date=@0
touch icons/python.py --date=@0
touch icons/java.java --date=@0
touch icons/javascript.js --date=@0
touch icons/html.html --date=@0
touch icons/css.css --date=@0
touch icons/php.php --date=@0
touch icons/ruby.rb --date=@0
touch icons/shell.sh --date=@0
touch icons/unknown.unknown --date=@0
touch icons/man.1 --date=@0
touch icons/marked.md --date=@0
# END test_icons
# BEGIN set date
touch --date=@0 ./*;
# END set date

View File

@ -151,10 +151,11 @@
release = false;
# buildPhase files differ between dep and main phase
singleStep = true;
# set itests files creation date to unix epoch
buildPhase = ''touch --date=@0 tests/itest/*'';
# generate testing files
buildPhase = ''bash devtools/dir-generator.sh tests/test_dir && echo "Dir generated"'';
cargoTestOptions = opts: opts ++ ["--features nix"];
inherit buildInputs;
nativeBuildInputs = with pkgs; [git];
};
# TODO: add conditionally to checks.
@ -168,9 +169,10 @@
# buildPhase files differ between dep and main phase
singleStep = true;
# set itests files creation date to unix epoch
buildPhase = ''touch --date=@0 tests/itest/*'';
buildPhase = ''touch --date=@0 tests/itest/* && bash devtools/dir-generator.sh tests/test_dir'';
cargoTestOptions = opts: opts ++ ["--features nix" "--features nix-local" "--features powertest"];
inherit buildInputs;
nativeBuildInputs = with pkgs; [git];
};
# Run `nix build .#trydump` to dump testing files
@ -184,6 +186,7 @@
singleStep = true;
# set itests files creation date to unix epoch
buildPhase = ''
bash devtools/dir-generator.sh tests/test_dir
touch --date=@0 tests/itest/*;
rm tests/cmd/*.stdout || echo;
rm tests/cmd/*.stderr || echo;
@ -198,6 +201,7 @@
cp dump $out -r
'';
inherit buildInputs;
nativeBuildInputs = with pkgs; [git];
};
};

View File

@ -15,12 +15,6 @@ fn cli_windows_tests() {
trycmd::TestCases::new().case("tests/cmd/*_windows.toml");
}
#[test]
#[cfg(feature = "nix")]
fn cli_nix_tests() {
trycmd::TestCases::new().case("tests/cmd/*_nix.toml");
}
#[test]
#[cfg(feature = "nix-local")]
fn cli_nix_local_tests() {
@ -32,3 +26,9 @@ fn cli_nix_local_tests() {
fn cli_powertest_tests() {
trycmd::TestCases::new().case("tests/ptests/*.toml");
}
#[test]
#[cfg(feature = "nix")]
fn cli_nix_generated_tests() {
trycmd::TestCases::new().case("tests/gen/*.toml");
}

View File

@ -1,21 +0,0 @@
.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

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --all"

View File

@ -1,21 +0,0 @@
0 a
0 b
0 c
0 d
0 e
- exa
0 f
0 g
0 h
0 i
0 image.jpg.img.c.rs.log.png
19 index.svg
0 j
0 k
0 l
0 m
0 n
0 o
0 p
0 q
- vagrant

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --no-user --no-time --no-permissions --binary"

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest/vagrant/debug --long --blocksize --dereference"

View File

@ -1,3 +0,0 @@
.rw-r--r-- 0 ariasuni 20 oct. 15:38 a
lrw-r--r-- 0 ariasuni 20 oct. 15:38 symlink -> a
---------- - - - symlink-broken -> ./b

View File

@ -1,21 +0,0 @@
.rw-r--r-- 0 0 nixbld 1 Jan 1970 a
.rw-r--r-- 0 0 nixbld 1 Jan 1970 b
.rw-r--r-- 0 0 nixbld 1 Jan 1970 c
.rw-r--r-- 0 0 nixbld 1 Jan 1970 d
.rw-r--r-- 0 0 nixbld 1 Jan 1970 e
drwxr-xr-x - - nixbld 1 Jan 1970 exa
.rw-r--r-- 0 0 nixbld 1 Jan 1970 f
.rw-r--r-- 0 0 nixbld 1 Jan 1970 g
.rw-r--r-- 0 0 nixbld 1 Jan 1970 h
.rw-r--r-- 0 0 nixbld 1 Jan 1970 i
.rw-r--r-- 0 0 nixbld 1 Jan 1970 image.jpg.img.c.rs.log.png
.rw-r--r-- 19 4.1k nixbld 1 Jan 1970 index.svg
.rw-r--r-- 0 0 nixbld 1 Jan 1970 j
.rw-r--r-- 0 0 nixbld 1 Jan 1970 k
.rw-r--r-- 0 0 nixbld 1 Jan 1970 l
.rw-r--r-- 0 0 nixbld 1 Jan 1970 m
.rw-r--r-- 0 0 nixbld 1 Jan 1970 n
.rw-r--r-- 0 0 nixbld 1 Jan 1970 o
.rw-r--r-- 0 0 nixbld 1 Jan 1970 p
.rw-r--r-- 0 0 nixbld 1 Jan 1970 q
drwxr-xr-x - - nixbld 1 Jan 1970 vagrant

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --blocksize"

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest/vagrant/debug --long --blocksize"

View File

@ -1,3 +0,0 @@
.rw-r--r-- 0 ariasuni 20 oct. 15:38 a
lrwxrwxrwx - ariasuni 17 oct. 18:35 symlink -> a
lrwxrwxrwx - ariasuni 20 oct. 15:38 symlink-broken -> ./b

View File

@ -1,21 +0,0 @@
.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

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --extended"

View File

@ -1,21 +0,0 @@
0 a
0 b
0 c
0 d
0 e
- exa
0 f
0 g
0 h
0 i
0 image.jpg.img.c.rs.log.png
19 index.svg
0 j
0 k
0 l
0 m
0 n
0 o
0 p
0 q
- vagrant

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --no-user --no-time --no-permissions"

View File

@ -1,21 +0,0 @@
.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

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --git"

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --git-repos"

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --git-repos-no-status"

View File

@ -1,21 +0,0 @@
.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

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --grid"

View File

@ -1,22 +0,0 @@
Permissions Size User Date Modified Name
.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

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --header"

View File

@ -1,22 +0,0 @@
Size Name
0 a
0 b
0 c
0 d
0 e
- exa
0 f
0 g
0 h
0 i
0 image.jpg.img.c.rs.log.png
19 index.svg
0 j
0 k
0 l
0 m
0 n
0 o
0 p
0 q
- vagrant

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --no-user --no-time --header --no-permissions"

View File

@ -1,21 +0,0 @@
.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

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --icons=auto"

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --no-user --no-time --no-filesize --no-permissions --recurse --links"

View File

@ -1,21 +0,0 @@
.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

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long"

View File

@ -1,21 +0,0 @@
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 a
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 b
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 c
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 d
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 e
0755 drwxr-xr-x - nixbld 1 Jan 1970 exa
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 f
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 g
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 h
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 i
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 image.jpg.img.c.rs.log.png
0644 .rw-r--r-- 19 nixbld 1 Jan 1970 index.svg
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 j
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 k
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 l
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 m
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 n
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 o
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 p
0644 .rw-r--r-- 0 nixbld 1 Jan 1970 q
0755 drwxr-xr-x - nixbld 1 Jan 1970 vagrant

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --octal-permissions"

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --no-user --no-permissions --no-time --no-filesize --recurse --level 2"

View File

@ -1,21 +0,0 @@
.rw-r--r-- 0 nixbld 53 years a
.rw-r--r-- 0 nixbld 53 years b
.rw-r--r-- 0 nixbld 53 years c
.rw-r--r-- 0 nixbld 53 years d
.rw-r--r-- 0 nixbld 53 years e
drwxr-xr-x - nixbld 53 years exa
.rw-r--r-- 0 nixbld 53 years f
.rw-r--r-- 0 nixbld 53 years g
.rw-r--r-- 0 nixbld 53 years h
.rw-r--r-- 0 nixbld 53 years i
.rw-r--r-- 0 nixbld 53 years image.jpg.img.c.rs.log.png
.rw-r--r-- 19 nixbld 53 years index.svg
.rw-r--r-- 0 nixbld 53 years j
.rw-r--r-- 0 nixbld 53 years k
.rw-r--r-- 0 nixbld 53 years l
.rw-r--r-- 0 nixbld 53 years m
.rw-r--r-- 0 nixbld 53 years n
.rw-r--r-- 0 nixbld 53 years o
.rw-r--r-- 0 nixbld 53 years p
.rw-r--r-- 0 nixbld 53 years q
drwxr-xr-x - nixbld 53 years vagrant

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --time-style relative"

View File

@ -1,21 +0,0 @@
a
b
c
d
e
exa
f
g
h
i
image.jpg.img.c.rs.log.png
index.svg
j
k
l
m
n
o
p
q
vagrant

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --long --no-user --no-time --no-filesize --no-permissions"

View File

@ -1,21 +0,0 @@
exa
vagrant
tests/itest/exa:
sssssssssssssssssssssssssggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
tests/itest/exa/sssssssssssssssssssssssssggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss:
tests/itest/vagrant:
debug
dev
log
tests/itest/vagrant/debug:
tests/itest/vagrant/dev:
tests/itest/vagrant/log:
run
tests/itest/vagrant/log/run:

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --recurse --long --no-user --no-time --no-filesize --no-permissions --only-dirs"

View File

@ -1,21 +0,0 @@
exa
vagrant
tests/itest/exa:
sssssssssssssssssssssssssggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
tests/itest/exa/sssssssssssssssssssssssssggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss:
tests/itest/vagrant:
debug
dev
log
tests/itest/vagrant/debug:
tests/itest/vagrant/dev:
tests/itest/vagrant/log:
run
tests/itest/vagrant/log/run:

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --only-dirs --recurse"

View File

@ -1,2 +0,0 @@
exa
vagrant

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --only-dirs"

View File

@ -1,19 +0,0 @@
a
b
c
d
e
f
g
h
i
image.jpg.img.c.rs.log.png
index.svg
j
k
l
m
n
o
p
q

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --only-files"

View File

@ -1,49 +0,0 @@
a
b
c
d
e
exa
f
g
h
i
image.jpg.img.c.rs.log.png
index.svg
j
k
l
m
n
o
p
q
vagrant
tests/itest/exa:
file.c -> djihisudjuhfius
sssssssssssssssssssssssssggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
tests/itest/exa/sssssssssssssssssssssssssggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss:
Makefile
tests/itest/vagrant:
debug
dev
log
tests/itest/vagrant/debug:
a
symlink -> a
symlink-broken -> ./b
tests/itest/vagrant/dev:
main.bf
tests/itest/vagrant/log:
file.png
run
tests/itest/vagrant/log/run:
run.log.text
sps.log.text

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --recurse --long --no-user --no-time --no-filesize --no-permissions"

View File

@ -1,49 +0,0 @@
a
b
c
d
e
exa
f
g
h
i
image.jpg.img.c.rs.log.png
index.svg
j
k
l
m
n
o
p
q
vagrant
tests/itest/exa:
file.c -> djihisudjuhfius
sssssssssssssssssssssssssggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
tests/itest/exa/sssssssssssssssssssssssssggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss:
Makefile
tests/itest/vagrant:
debug
dev
log
tests/itest/vagrant/debug:
a
symlink -> a
symlink-broken -> ./b
tests/itest/vagrant/dev:
main.bf
tests/itest/vagrant/log:
file.png
run
tests/itest/vagrant/log/run:
run.log.text
sps.log.text

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --recurse"

View File

@ -1,36 +0,0 @@
tests/itest
├── a
├── b
├── c
├── d
├── e
├── exa
│ ├── file.c -> djihisudjuhfius
│ └── sssssssssssssssssssssssssggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
│ └── Makefile
├── f
├── g
├── h
├── i
├── image.jpg.img.c.rs.log.png
├── index.svg
├── j
├── k
├── l
├── m
├── n
├── o
├── p
├── q
└── vagrant
├── debug
│ ├── a
│ ├── symlink -> a
│ └── symlink-broken -> ./b
├── dev
│ └── main.bf
└── log
├── file.png
└── run
├── run.log.text
└── sps.log.text

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --tree --long --no-user --no-time --no-filesize --no-permissions"

View File

@ -1,36 +0,0 @@
tests/itest
├── a
├── b
├── c
├── d
├── e
├── exa
│ ├── file.c -> djihisudjuhfius
│ └── sssssssssssssssssssssssssggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
│ └── Makefile
├── f
├── g
├── h
├── i
├── image.jpg.img.c.rs.log.png
├── index.svg
├── j
├── k
├── l
├── m
├── n
├── o
├── p
├── q
└── vagrant
├── debug
│ ├── a
│ ├── symlink -> a
│ └── symlink-broken -> ./b
├── dev
│ └── main.bf
└── log
├── file.png
└── run
├── run.log.text
└── sps.log.text

View File

@ -1,2 +0,0 @@
bin.name = "eza"
args = "tests/itest --tree"

View File

@ -0,0 +1,5 @@
]8;;file:///build/source/tests/itest/a/a]8;;/ ]8;;file:///build/source/tests/itest/exa/exa]8;;// ]8;;file:///build/source/tests/itest/image.jpg.img.c.rs.log.png/image.jpg.img.c.rs.log.png]8;;/ ]8;;file:///build/source/tests/itest/m/m]8;;/ ]8;;file:///build/source/tests/itest/vagrant/vagrant]8;;//
]8;;file:///build/source/tests/itest/b/b]8;;/ ]8;;file:///build/source/tests/itest/f/f]8;;/ ]8;;file:///build/source/tests/itest/index.svg/index.svg]8;;/ ]8;;file:///build/source/tests/itest/n/n]8;;/
]8;;file:///build/source/tests/itest/c/c]8;;/ ]8;;file:///build/source/tests/itest/g/g]8;;/ ]8;;file:///build/source/tests/itest/j/j]8;;/ ]8;;file:///build/source/tests/itest/o/o]8;;/
]8;;file:///build/source/tests/itest/d/d]8;;/ ]8;;file:///build/source/tests/itest/h/h]8;;/ ]8;;file:///build/source/tests/itest/k/k]8;;/ ]8;;file:///build/source/tests/itest/p/p]8;;/
]8;;file:///build/source/tests/itest/e/e]8;;/ ]8;;file:///build/source/tests/itest/i/i]8;;/ ]8;;file:///build/source/tests/itest/l/l]8;;/ ]8;;file:///build/source/tests/itest/q/q]8;;/

View File

@ -0,0 +1,21 @@
 a
 b
 c
 d
 e
 exa
 f
 g
 h
 i
 image.jpg.img.c.rs.log.png
󰕙 index.svg
 j
 k
 l
 m
 n
 o
 p
 q
 vagrant

View 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

View File

@ -0,0 +1,2 @@
bin.name = "eza"
args = "tests/test_dir --long --all"

View File

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

View File

@ -0,0 +1,2 @@
bin.name = "eza"
args = "tests/test_dir --long --no-user --no-time --no-permissions --binary"

View 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

View File

@ -0,0 +1,2 @@
bin.name = "eza"
args = "tests/test_dir --long --blocksize"

View 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

View File

@ -0,0 +1,2 @@
bin.name = "eza"
args = "tests/test_dir --long --extended"

View File

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

View File

@ -0,0 +1,2 @@
bin.name = "eza"
args = "tests/test_dir --long --no-user --no-time --no-permissions"

View 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

View File

@ -0,0 +1,2 @@
bin.name = "eza"
args = "tests/test_dir --long --git"

View 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

View File

@ -0,0 +1,2 @@
bin.name = "eza"
args = "tests/test_dir --long --git-repos"

View 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

View File

@ -0,0 +1,2 @@
bin.name = "eza"
args = "tests/test_dir --long --git-repos-no-status"

View 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

View File

@ -0,0 +1,2 @@
bin.name = "eza"
args = "tests/test_dir --long --grid"

View 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

View File

@ -0,0 +1,2 @@
bin.name = "eza"
args = "tests/test_dir --long --header"

View File

@ -0,0 +1,10 @@
Size Name
- git
- grid
- group
- icons
- perms
- size
- specials
- symlinks
- time

View File

@ -0,0 +1,2 @@
bin.name = "eza"
args = "tests/test_dir --long --no-user --no-time --header --no-permissions"

Some files were not shown because too many files have changed in this diff Show More