generic/019: fix incorrect unset statements
authorDarrick J. Wong <djwong@kernel.org>
Tue, 19 Apr 2022 17:32:06 +0000 (10:32 -0700)
committerZorro Lang <zlang@kernel.org>
Tue, 26 Apr 2022 18:54:00 +0000 (02:54 +0800)
Fix incorrect usage of unset -- one passes the name of the variable, not
the *value* contained within it.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/019

index 854ba57de0b63567a5b5a429c1a3bfc519ddd9cd..45c91624d32ac134e17d83e2d3751209af9dbaf5 100755 (executable)
@@ -140,8 +140,8 @@ _workout()
        kill $fs_pid &> /dev/null
        wait $fs_pid
        wait $fio_pid
-       unset $fs_pid
-       unset $fio_pid
+       unset fs_pid
+       unset fio_pid
 
        # We expect that broken FS still can be umounted
        run_check _scratch_unmount