t3600: use helpers to replace test -d/f/e/s <path>
authorRohit Ashiwal <rohit.ashiwal265@gmail.com>
Mon, 4 Mar 2019 12:08:01 +0000 (17:38 +0530)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Mar 2019 05:23:11 +0000 (14:23 +0900)
commit59a06e947bf880d72fb8358e95de93fa5c69158c
tree0c290ac2c2c907c20bb31ca8312d74cef434582c
parentb5368c23c193fdbb634aaaf82f03f1a2eebe7641
t3600: use helpers to replace test -d/f/e/s <path>

Take advantage of helper functions test_path_is_dir(),
test_path_is_missing(), etc. to replace `test -d|f|e|s` since the
functions make the code more readable and have better error
messages.

Signed-off-by: Rohit Ashiwal <rohit.ashiwal265@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3600-rm.sh