From: Christian Goeschel Ndjomouo Date: Thu, 29 Jan 2026 12:57:52 +0000 (-0500) Subject: tests: (flock) fix shellcheck warning X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fba400e7fdd7ed34044c184e030bb9877143d736;p=thirdparty%2Futil-linux.git tests: (flock) fix shellcheck warning Signed-off-by: Christian Goeschel Ndjomouo --- diff --git a/tests/ts/flock/flock b/tests/ts/flock/flock index 70fc69cf5..85e341d6c 100755 --- a/tests/ts/flock/flock +++ b/tests/ts/flock/flock @@ -91,7 +91,7 @@ for api in flock fcntl ; do ts_init_subtest "${subtest_prefix}fd" - cd "$TS_OUTDIR" + cd "$TS_OUTDIR" || ts_failed "failed to change directory to $TS_OUTDIR" rm 4 2> /dev/null exec 4<>$TS_OUTDIR/lockfile || ts_log "Could not open lockfile" $TS_CMD_FLOCK $api_arg --nonblock --exclusive --conflict-exit-code 123 4 \