]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/504: fix hard coded fd number
authorMurphy Zhou <xzhou@redhat.com>
Mon, 8 Apr 2019 02:38:59 +0000 (10:38 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 14 Apr 2019 11:05:36 +0000 (19:05 +0800)
commit13818987d557b2bbe5ce67f6b3a8963ef69edb38
treeb186a1cfd7b1cf2425c2a269b8f69e3a5f749710
parent4529b20e1aa8f9f56ca101fb87a671433b850577
generic/504: fix hard coded fd number

Bash supports file discriptor assignment in this way. So remove the hard
coded numbers. Also close this opened fd in cleanup.

Signed-off-by: Murphy Zhou <xzhou@redhat.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/504