2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2014 Red Hat Inc. All Rights Reserved.
5 # FS QA Test No. generic/028
7 # The following commit introduced a race condition that causes getcwd(2)
8 # to return "/" instead of correct path
10 # 232d2d6 dcache: Translating dentry into pathname without taking rename_lock
12 # These commits fixed the bug
13 # ede4ceb prepend_path() needs to reinitialize dentry/vfsmount/mnt on restarts
14 # f650080 __dentry_path() fixes
17 seqres=$RESULT_DIR/$seq
18 echo "QA output created by $seq"
22 status=1 # failure is the default!
23 trap "_cleanup; exit \$status" 0 1 2 3 15
31 # get standard environment, filters and checks
35 # real QA test starts here
39 echo "Silence is golden"
41 $here/src/t_getcwd $TEST_DIR