Files
coreutils/coreutils-use-python3.patch
Bernhard Voelker 1374f32b38 Accepting request 1269756 from home:berny:branches:Base:System
- coreutils-i18n.patch: update gnulib mbchar+mbfile to the commit
  used by coreutils-9.7:
    https://git.sv.gnu.org/cgit/gnulib.git/commit/?id=41e7b7e0d
    mainly to pick up these commits:
    - c67c553e758 mbfile: Support pushback characters also right before EOF.
    - 87ee7ef66ee mbfile: Allow 2 pushback characters.

OBS-URL: https://build.opensuse.org/request/show/1269756
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=374
2025-04-16 06:01:03 +00:00

31 lines
1.0 KiB
Diff

---
tests/du/move-dir-while-traversing.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Index: tests/du/move-dir-while-traversing.sh
===================================================================
--- tests/du/move-dir-while-traversing.sh.orig
+++ tests/du/move-dir-while-traversing.sh
@@ -20,9 +20,9 @@
print_ver_ du
require_trap_signame_
-# We use a python-inotify script, so...
-python -m pyinotify -h > /dev/null \
- || skip_ 'python inotify package not installed'
+# We use a python3-inotify script, so...
+python3 -m pyinotify -h > /dev/null \
+ || skip_ 'python3 inotify package not installed'
# Move a directory "up" while du is processing its sub-directories.
# While du is processing a hierarchy .../B/C/D/... this script
@@ -33,7 +33,7 @@ python -m pyinotify -h > /dev/null \
# rename syscall before du finishes processing the subtree under D/.
cat <<'EOF' > inotify-watch-for-dir-access.py
-#!/usr/bin/env python
+#!/usr/bin/env python3
import pyinotify as pn
import os,sys