Skip to content

Commit efa792e

Browse files
committed
fix: reorder ttar entries to match make update_fixtures output
Python ttar tool sorts entries alphabetically: bus/acpi must come before bus/pci. Signed-off-by: dongjiang <dongjiang@xiaomi.com> Signed-off-by: dongjiang <dongjiang1989@126.com>
1 parent a553008 commit efa792e

1 file changed

Lines changed: 24 additions & 24 deletions

File tree

testdata/fixtures.ttar

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4993,30 +4993,6 @@ Mode: 644
49934993
Directory: fixtures/sys/bus
49944994
Mode: 755
49954995
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4996-
Directory: fixtures/sys/bus/pci
4997-
Mode: 755
4998-
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4999-
Directory: fixtures/sys/bus/pci/devices
5000-
Mode: 775
5001-
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5002-
Path: fixtures/sys/bus/pci/devices/0000:00:02.1
5003-
SymlinkTo: ../../../devices/pci0000:00/0000:00:02.1
5004-
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5005-
Path: fixtures/sys/bus/pci/devices/0000:01:00.0
5006-
SymlinkTo: ../../../devices/pci0000:00/0000:00:02.1/0000:01:00.0
5007-
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5008-
Path: fixtures/sys/bus/pci/devices/0000:a2:00.0
5009-
SymlinkTo: ../../../devices/pci0000:a2/0000:a2:00.0
5010-
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5011-
Directory: fixtures/sys/bus/pci/drivers
5012-
Mode: 755
5013-
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5014-
Directory: fixtures/sys/bus/pci/drivers/amdgpu
5015-
Mode: 755
5016-
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5017-
Directory: fixtures/sys/bus/pci/drivers/i915
5018-
Mode: 755
5019-
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
50204996
Directory: fixtures/sys/bus/acpi
50214997
Mode: 755
50224998
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -5139,6 +5115,30 @@ Lines: 1
51395115
500
51405116
Mode: 644
51415117
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5118+
Directory: fixtures/sys/bus/pci
5119+
Mode: 755
5120+
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5121+
Directory: fixtures/sys/bus/pci/devices
5122+
Mode: 775
5123+
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5124+
Path: fixtures/sys/bus/pci/devices/0000:00:02.1
5125+
SymlinkTo: ../../../devices/pci0000:00/0000:00:02.1
5126+
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5127+
Path: fixtures/sys/bus/pci/devices/0000:01:00.0
5128+
SymlinkTo: ../../../devices/pci0000:00/0000:00:02.1/0000:01:00.0
5129+
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5130+
Path: fixtures/sys/bus/pci/devices/0000:a2:00.0
5131+
SymlinkTo: ../../../devices/pci0000:a2/0000:a2:00.0
5132+
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5133+
Directory: fixtures/sys/bus/pci/drivers
5134+
Mode: 755
5135+
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5136+
Directory: fixtures/sys/bus/pci/drivers/amdgpu
5137+
Mode: 755
5138+
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5139+
Directory: fixtures/sys/bus/pci/drivers/i915
5140+
Mode: 755
5141+
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
51425142
Directory: fixtures/sys/class
51435143
Mode: 755
51445144
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

0 commit comments

Comments
 (0)