]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: fix typo in comment
authorDavid Anes <david.anes@suse.com>
Tue, 13 Dec 2022 08:55:03 +0000 (09:55 +0100)
committerDavid Anes <david.anes@suse.com>
Tue, 13 Dec 2022 08:55:03 +0000 (09:55 +0100)
tests/functions.sh
tests/ts/minix/fsck

index 0d28c56d7bdeafe0b6e72cdcd66df05f1ce9abf8..ce0b74e6c570ceeeeb346785a10213ca3aa9c466 100644 (file)
@@ -853,7 +853,7 @@ function ts_fdisk_clean {
 
        # remove non comparable parts of fdisk output
        if [ -n "${DEVNAME}" ]; then
-               # escape "@" with "@@" in $DEVNAME. This way sed correctly
+               # escape "@" with "\@" in $DEVNAME. This way sed correctly
                # replaces paths containing "@" characters
                sed -i -e "s@${DEVNAME//\@/\\\@}@<removed>@;" $TS_OUTPUT $TS_ERRLOG
        fi
index f246a87a7617af1a6f51503409ac7edeb7ef7ff4..9d4aa0d0b8e46b3927b58630c11611c25dee1b87 100755 (executable)
@@ -50,7 +50,7 @@ done
 
 rm -f $img
 
-# escape "@" with "@@" in $img. This way sed correctly
+# escape "@" with "\@" in $img. This way sed correctly
 # replaces paths containing "@" characters
 sed -i "s@${img//\@/\\\@}@image@g" $TS_OUTPUT