File: 0001-Skip-version-test.patch

package info (click to toggle)
golang-mvdan-sh 3.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,260 kB
  • sloc: javascript: 213; sh: 63; makefile: 10
file content (28 lines) | stat: -rw-r--r-- 702 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Shengjing Zhu <zhsj@debian.org>
Date: Wed, 11 May 2022 23:51:30 +0800
Subject: Skip version test

Forwarded: not-needed
---
 cmd/shfmt/testdata/script/flags.txtar | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/cmd/shfmt/testdata/script/flags.txtar b/cmd/shfmt/testdata/script/flags.txtar
index 012912c..3ab6a8d 100644
--- a/cmd/shfmt/testdata/script/flags.txtar
+++ b/cmd/shfmt/testdata/script/flags.txtar
@@ -8,14 +8,6 @@ stderr 'Utilities' # definitely includes our help text
 exec shfmt --help
 stderr 'usage: shfmt'
 
-exec shfmt -version
-stdout 'devel|v3'
-! stderr .
-
-exec shfmt --version
-stdout 'devel|v3'
-! stderr .
-
 ! exec shfmt -ln=bash -p
 stderr 'cannot coexist'