diff options
| author | Julian Andres Klode <jak@debian.org> | 2025-03-26 15:16:53 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-03-26 15:16:53 +0000 |
| commit | 823ff724d013dbe484e3da91bd54ae972f85629c (patch) | |
| tree | 0d8aaaba7123186aa1d5e32690a35b68498814da /test/integration/test-apt-cli-pager | |
| parent | 2a6c9bd8c0f8f50671bf7992f1e5d87b392e0336 (diff) | |
| parent | a452d3a9f526f6545981664712b45f709545e6fa (diff) | |
Merge branch 'fix-pager-env' into 'main'
Respect custom LESS/MORE/LV variables
See merge request apt-team/apt!468
Diffstat (limited to 'test/integration/test-apt-cli-pager')
| -rwxr-xr-x | test/integration/test-apt-cli-pager | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/test-apt-cli-pager b/test/integration/test-apt-cli-pager index d1f8c3288..cc220c81f 100755 --- a/test/integration/test-apt-cli-pager +++ b/test/integration/test-apt-cli-pager @@ -125,3 +125,6 @@ Checksums-Sha256: PAGER="head -2" testsuccessequal "Package: foo Binary: foo" runapt --unbuffer apt showsrc foo -o TestPager="head- 2" + +PAGER='echo $LESS' testsuccessequal "FRX" runapt --unbuffer apt showsrc foo -o TestPager='echo $LESS (1)' +LESS=FRXM PAGER='echo $LESS' testsuccessequal "FRXM" runapt --unbuffer apt showsrc foo -o TestPager='echo $LESS (2)' |
