diff options
| author | Sylvestre Ledru <sylvestre@debian.org> | 2024-12-30 10:41:23 +0100 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2024-12-30 14:21:47 +0000 |
| commit | ff55921c43c2db43b083a1ea733d1623f91d2303 (patch) | |
| tree | d38985a655dca7e658f71a5d5006cb4110f1094b | |
| parent | kill: with -l,-t list signal 0 (diff) | |
| download | coreutils-ff55921c43c2db43b083a1ea733d1623f91d2303.tar.gz coreutils-ff55921c43c2db43b083a1ea733d1623f91d2303.zip | |
tests: improve the chmod/symlinks.sh test
The variable of the loop isn't passed to the command making
it less interesting
* tests/chmod/symlinks.sh: Fix the test case.
| -rwxr-xr-x | tests/chmod/symlinks.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/chmod/symlinks.sh b/tests/chmod/symlinks.sh index 0317cc360..c2463fd4f 100755 --- a/tests/chmod/symlinks.sh +++ b/tests/chmod/symlinks.sh @@ -77,7 +77,7 @@ count_755 0 # Dangling links should not induce an error if not dereferencing for noderef in '-h' '-RP' '-P'; do - chmod 755 --no-dereference a/dangle 2>err || fail=1 + chmod 755 --no-dereference $noderef a/dangle 2>err || fail=1 done # Dangling links should induce an error if dereferencing for deref in '' '--deref' '-R'; do |
