2 # FS QA Test No. generic/028
4 # The following commit introduced a race condition that causes getcwd(2)
5 # to return "/" instead of correct path
7 # 232d2d6 dcache: Translating dentry into pathname without taking rename_lock
9 # These commits fixed the bug
10 # ede4ceb prepend_path() needs to reinitialize dentry/vfsmount/mnt on restarts
11 # f650080 __dentry_path() fixes
13 #-----------------------------------------------------------------------
14 # Copyright (c) 2014 Red Hat Inc. All Rights Reserved.
16 # This program is free software; you can redistribute it and/or
17 # modify it under the terms of the GNU General Public License as
18 # published by the Free Software Foundation.
20 # This program is distributed in the hope that it would be useful,
21 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 # GNU General Public License for more details.
25 # You should have received a copy of the GNU General Public License
26 # along with this program; if not, write the Free Software Foundation,
27 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28 #-----------------------------------------------------------------------
32 seqres=$RESULT_DIR/$seq
33 echo "QA output created by $seq"
37 status=1 # failure is the default!
38 trap "_cleanup; exit \$status" 0 1 2 3 15
46 # get standard environment, filters and checks
50 # real QA test starts here
55 echo "Silence is golden"
57 $here/src/t_getcwd $TEST_DIR