tests: remove udf/101
[xfstests-dev.git] / tests / generic / 028
1 #! /bin/bash
2 # FS QA Test No. generic/028
3 #
4 # The following commit introduced a race condition that causes getcwd(2)
5 # to return "/" instead of correct path
6 #
7 # 232d2d6 dcache: Translating dentry into pathname without taking rename_lock
8 #
9 # These commits fixed the bug
10 # ede4ceb prepend_path() needs to reinitialize dentry/vfsmount/mnt on restarts
11 # f650080 __dentry_path() fixes
12 #
13 #-----------------------------------------------------------------------
14 # Copyright (c) 2014 Red Hat Inc.  All Rights Reserved.
15 #
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.
19 #
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.
24 #
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 #-----------------------------------------------------------------------
29 #
30
31 seq=`basename $0`
32 seqres=$RESULT_DIR/$seq
33 echo "QA output created by $seq"
34
35 here=`pwd`
36 tmp=/tmp/$$
37 status=1        # failure is the default!
38 trap "_cleanup; exit \$status" 0 1 2 3 15
39
40 _cleanup()
41 {
42     cd /
43     rm -f $tmp.*
44 }
45
46 # get standard environment, filters and checks
47 . ./common/rc
48 . ./common/filter
49
50 # real QA test starts here
51 _supported_fs generic
52 _supported_os Linux
53 _require_test
54
55 echo "Silence is golden"
56
57 $here/src/t_getcwd $TEST_DIR
58 status=$?
59 exit