The test used \> to detect the end of a string, but this no longer works,
so use $ which works as well since the string ends the line anyway.
Authored by: John Wren Kennedy <john.kennedy@delphix.com>
Reviewed by: Akash Ayare <aayare@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: Yuri Pankov <yuripv@icloud.com>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Approved by: Dan McDonald <danmcd@joyent.com>
Ported-by: Giuseppe Di Natale <dinatale2@llnl.gov>
OpenZFS-issue: https://www.illumos.org/issues/8965
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/
cb1204e444
Closes #7145
#
#
-# Copyright (c) 2016 by Delphix. All rights reserved.
+# Copyright (c) 2016, 2018 by Delphix. All rights reserved.
#
. $STF_SUITE/tests/functional/acl/acl.cfg
return 1
fi
- ls -ld $obj | awk '{print $1}' | grep "+\>" > /dev/null
+ ls -ld $obj | awk '{print $1}' | grep "+$" > /dev/null
return $?
}
return 1
fi
- ls -vd $obj | nawk '(NR == 1) {print $1}' | grep "+\>" > /dev/null
+ ls -vd $obj | awk '(NR == 1) {print $1}' | grep "+$" > /dev/null
return $?
}