]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (lsns::filter) don't use double-quotes chars for PID
authorMasatake YAMATO <yamato@redhat.com>
Mon, 8 Apr 2024 19:22:54 +0000 (04:22 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Fri, 12 Apr 2024 18:13:48 +0000 (03:13 +0900)
tests/ts/lsns/filter

index 1d1d86ca9b9ab5161ebc278b27ff9646b8791ee0..a6274b0319bafb10b29b77b1db67e2a73eda8e61 100755 (executable)
@@ -38,7 +38,7 @@ FD=4
 {
     coproc MKFDS { "$TS_HELPER_MKFDS" --comm ABC userns $FD; }
     if read -u ${MKFDS[0]} PID; then
-       lsfd_expr="PID == \"${PID}\" and ASSOC == \"user\""
+       lsfd_expr="PID == ${PID} and ASSOC == \"user\""
        inode=$(${TS_CMD_LSFD} -n --raw -o INODE -Q "${lsfd_expr}")
        for opt in -Q --filter; do
            lsns_expr="NS == $inode && NPROCS == 1"