diff options
| author | Ricardo B. Marlière <rbm@suse.com> | 2026-03-20 15:29:18 -0300 |
|---|---|---|
| committer | Shuah Khan <skhan@linuxfoundation.org> | 2026-04-13 11:05:39 -0600 |
| commit | a82e076f4a0c084b2f5470db31dd9282ba3fcbb2 (patch) | |
| tree | bc14cb25cdc3692e24b1480c33a566e77060360a /rust/kernel/ptr/git@git.tavy.me:linux.git | |
| parent | dbb6153c1395a0f310411f440330efe4ee3f4d82 (diff) | |
selftests/run_kselftest.sh: Resolve BASE_DIR with pwd -P
run_kselftest.sh only needs to canonicalize the directory containing the
script itself. Use shell-native path resolution for that by changing into
the directory and calling pwd -P.
This avoids depending on either realpath or readlink -f while still
producing a physical absolute path for BASE_DIR.
Signed-off-by: Ricardo B. Marlière <rbm@suse.com>
Link: https://lore.kernel.org/r/20260320-selftests-fixes-v1-3-79144f76be01@suse.com
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'rust/kernel/ptr/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
