Skip to content

Commit

Permalink
Trying to tack down a windows CI error.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitwham committed Feb 26, 2025
1 parent bb96e23 commit 5af1a80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test.pl
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,10 @@ sub test_faidx
cmd("$$opts{bin}/samtools faidx $$opts{tmp}/faidx.fa 1 --write-index"); #ignores write-index
cmd("echo \"1\n2\n3\" > $$opts{tmp}/1.reg"); #create region file
cmd("$$opts{bin}/samtools faidx $$opts{tmp}/faidx.fa --write-index -r $$opts{tmp}/1.reg -o $$opts{tmp}/1.fa"); #writes and indexes

system("ls", "-l", "$$opts{tmp}/faidx.fa.fai");
system("ls", "-l", "$$opts{tmp}/1.fa.fai");

cmd("$$opts{diff} $$opts{tmp}/faidx.fa.fai $$opts{tmp}/1.fa.fai");
cmd("$$opts{bin}/samtools faidx $$opts{tmp}/faidx.fa -r $$opts{tmp}/1.reg -o $$opts{tmp}/out.fa.gz"); #create output for comparison
cmd("$$opts{bin}/samtools faidx $$opts{tmp}/out.fa.gz");
Expand Down

0 comments on commit 5af1a80

Please sign in to comment.