[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63934] tests/xargs/verbose-quote.sh fails with dash shell as /bin/
From: |
Sam James |
Subject: |
[bug #63934] tests/xargs/verbose-quote.sh fails with dash shell as /bin/sh |
Date: |
Thu, 16 Mar 2023 14:46:59 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?63934>
Summary: tests/xargs/verbose-quote.sh fails with dash shell
as /bin/sh
Group: findutils
Submitter: thesamesam
Submitted: Thu 16 Mar 2023 06:46:57 PM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: None
Discussion Lock: Any
Fixed Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 16 Mar 2023 06:46:57 PM UTC By: Sam James <thesamesam>
find --version:
```
find (GNU findutils) 4.9.0
Packaged by Gentoo (4.9.0-r2)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS(FTS_CWDFD)
CBO(level=2)
```
When running `make check` on findutils-4.9.0, I get one test failure:
```
FAIL: tests/xargs/verbose-quote.sh
```
Upon further inspection of the test logs in /tests/xargs/verbose-quote.log, I
see:
```
--- experr 2023-03-16 18:46:16.428328371 +0000
+++ err 2023-03-16 18:46:16.418328323 +0000
@@ -2,4 +2,4 @@
'./my command' 'hel lo' '10 0' world
'./my command' 'hel lo' '20"0' world
'./my command' 'hel lo' "30'0" world
-'./my command' 'hel lo' '40'$'\n''0' world
+'./my command' 'hel lo' '40$\n0' world
--- expout 2023-03-16 18:46:16.438328420 +0000
+++ out 2023-03-16 18:46:16.421661673 +0000
@@ -2,5 +2,5 @@
hel lo 10 0 world
hel lo 20"0 world
hel lo 30'0 world
-hel lo 40
+hel lo 40$
1. world
FAIL tests/xargs/verbose-quote.sh (exit status: 1)
```
This test passes when /bin/sh = bash, and fails when /bin/sh = dash.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63934>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #63934] tests/xargs/verbose-quote.sh fails with dash shell as /bin/sh,
Sam James <=