Skip to content

Commit 2e6e2c9

Browse files
committed
DEBUG: tar set -x
1 parent a9b3d60 commit 2e6e2c9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,4 @@ jobs:
9999
runs-on: macos-latest
100100
steps:
101101
- uses: actions/checkout@v4
102-
- run: env PYTESTFLAGS="--verbose -p no:cacheprovider --color=yes" test/macos-script.sh
102+
- run: env PYTESTFLAGS="--verbose -p no:cacheprovider --color=yes -k '(TestTar and test_25) or TestPs'" test/macos-script.sh

completions/tar

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ _comp_cmd_tar__preparse_cmdline()
299299
# Generate completions for -f/--file.
300300
_comp_cmd_tar__file_option()
301301
{
302+
set -x
302303
local ext="$1"
303304

304305
case "$tar_mode" in
@@ -510,6 +511,7 @@ _comp_cmd_tar__is_bsdtar()
510511

511512
_comp_cmd_tar__detect_ext()
512513
{
514+
set -x
513515
local tars='@(@(tar|spkg)?(.@(Z|[bgx]z|bz2|lz?(ma|o)|zst))|t@([abglx]z|b?(z)2|zst)|cbt|gem|xbps)'
514516
if _comp_cmd_tar__is_bsdtar; then
515517
# https://github.com/libarchive/libarchive/wiki/LibarchiveFormats
@@ -787,6 +789,7 @@ _comp_cmd_tar__posix()
787789

788790
local ext
789791

792+
set -x
790793
_comp_cmd_tar__detect_ext
791794

792795
_comp_cmd_tar__adjust_PREV_from_old_option

0 commit comments

Comments
 (0)