eza-community / eza

A modern, maintained replacement for ls
https://eza.rocks
MIT License
8.79k stars 170 forks source link

Bug: `idump` give different output even without any modification, on Debian #973

Open allaboutevemirolive opened 1 month ago

allaboutevemirolive commented 1 month ago

Following this PR #933, I try to investigate the root of the error and found that there are differences of expected output-test when running idump even without modification, on Debian.

Some sample with $ cat tests/ptests/ptest_ffbdb9af2de10fa.stdout after dumping the output test:

Expected Output:

drwxr-xr-x - nixbld  1 Jan  1970 specials
drwxr-xr-x - nixbld  1 Jan  1970 group
drwxr-xr-x - nixbld  1 Jan  1970 perms
drwxr-xr-x - nixbld  1 Jan  1970 size
drwxr-xr-x - nixbld  1 Jan  1970 time
drwxr-xr-x - nixbld  1 Jan  1970 symlinks
drwxr-xr-x - nixbld  1 Jan  1970 git
drwxr-xr-x - nixbld  1 Jan  1970 icons
drwxr-xr-x - nixbld  1 Jan  1970 grid

Current output with error after running idump :

drwxr-xr-x - nixbld  1 Jan  1970 icons
drwxr-xr-x - nixbld  1 Jan  1970 size
drwxr-xr-x - nixbld  1 Jan  1970 symlinks
drwxr-xr-x - nixbld  1 Jan  1970 perms
drwxr-xr-x - nixbld  1 Jan  1970 group
drwxr-xr-x - nixbld  1 Jan  1970 time
drwxr-xr-x - nixbld  1 Jan  1970 specials
drwxr-xr-x - nixbld  1 Jan  1970 git
drwxr-xr-x - nixbld  1 Jan  1970 grid

Here are the git status

$ git status
On branch Otherly
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
    modified:   tests/cmd/absolute_recurse_unix.stdout
    modified:   tests/cmd/absolute_unix.stdout
    deleted:    tests/gen/absolute_recurse_unix.stderr
    deleted:    tests/gen/absolute_recurse_unix.stdout
    deleted:    tests/gen/absolute_unix.stderr
    deleted:    tests/gen/absolute_unix.stdout
    modified:   tests/ptests/ptest_10c50228fc1c6107.stdout
    modified:   tests/ptests/ptest_132ac9f159c3473e.stdout
    modified:   tests/ptests/ptest_1ab8279d631495b0.stdout
    modified:   tests/ptests/ptest_1e61d8c305ff6c48.stdout
    modified:   tests/ptests/ptest_2176b1b061cb7da2.stdout
    modified:   tests/ptests/ptest_469e79a86c2c874f.stdout
    modified:   tests/ptests/ptest_6e6893c2c2254622.stdout
    modified:   tests/ptests/ptest_7d1cd636566df8cd.stdout
    modified:   tests/ptests/ptest_825e60e73630f857.stdout
    modified:   tests/ptests/ptest_8484317bd3add4dc.stdout
    modified:   tests/ptests/ptest_8becd3030ba5621c.stdout
    modified:   tests/ptests/ptest_8ece6263396deeab.stdout
    modified:   tests/ptests/ptest_abc83ec759ddab6.stdout
    modified:   tests/ptests/ptest_bbfc26a93fbe15a7.stdout
    modified:   tests/ptests/ptest_caa4e824b02fa569.stdout
    modified:   tests/ptests/ptest_cc209e82fa5f78eb.stdout
    modified:   tests/ptests/ptest_cee646e8f21997ad.stdout
    modified:   tests/ptests/ptest_ffbdb9af2de10fa.stdout

no changes added to commit (use "git add" and/or "git commit -a")