Files
fish-shell/tests
Fabian Homborg 1ee57e9244 tests/realpath.in: We want to delete $PWD, darnit!
Illumos/OpenIndiana/SunOS/Solaris has an rm/rmdir that tries to
protect the user by not allowing them to delete $PWD.

Normally, this would be a good thing as deleting $PWD is a stupid
thing to do. Except in this case, we absolutely need to do that.

So instead we weasel around it by invoking an sh to cd out of the
directory to then invoke an `rmdir` to delete it. That should throw
off any attempts at protection (we could also have tried $PWD/. or
similar, but that's possibly still protected against).

This is the last failing test on
Illumos/OpenIndiana/SunOS/Solaris/afunnyquip, so:

Fixes #5472.
2019-02-13 13:05:50 +01:00
..
2018-09-30 16:54:56 +02:00
2019-02-07 12:19:36 +01:00
2019-02-07 12:19:36 +01:00
2018-09-30 16:54:56 +02:00
2018-09-30 16:54:56 +02:00
2019-01-22 13:34:04 -08:00
2019-01-22 13:34:04 -08:00
2019-02-03 01:58:49 -08:00
2019-02-03 01:58:49 -08:00
2019-02-03 01:58:49 -08:00
2018-11-28 06:27:21 -08:00
2016-12-19 17:44:54 -08:00
2018-11-13 21:54:41 +08:00
2018-04-01 13:48:21 -07:00
2018-12-11 18:23:37 +01:00
2014-09-21 21:03:44 -07:00
2014-09-21 21:03:44 -07:00
2017-07-16 15:13:39 -07:00
2014-12-23 15:46:47 -08:00
2017-07-25 12:44:26 -07:00
2017-06-16 21:01:56 -07:00
2018-04-01 13:48:21 -07:00
2018-03-04 15:33:36 -06:00
2017-01-31 22:10:53 -08:00
2017-01-31 22:10:53 -08:00
2018-12-01 13:25:00 -08:00
2019-02-13 12:54:58 +01:00
2019-02-13 12:54:58 +01:00
2017-02-20 18:43:13 -08:00
2016-12-20 16:46:33 -08:00
2019-01-01 14:52:26 +01:00
2018-11-18 22:33:02 +01:00
2018-11-18 22:33:02 +01:00
2018-11-18 22:33:02 +01:00
2017-04-05 15:31:13 -07:00
2017-04-05 15:31:13 -07:00
2017-04-05 15:31:13 -07:00
2018-05-06 11:20:15 -07:00
2018-11-15 12:00:56 -06:00
2018-11-15 12:00:56 -06:00
2005-09-20 23:31:55 +10:00
2010-09-18 10:18:26 +08:00
2005-09-20 23:31:55 +10:00
2018-11-28 06:27:21 -08:00
2018-03-31 16:54:50 -07:00
2016-11-17 14:53:50 -08:00
2018-04-01 13:48:21 -07:00
2014-07-13 19:11:29 -07:00
2019-01-01 14:52:26 +01:00
2019-02-12 20:34:19 +01:00
2019-02-12 20:34:19 +01:00
2019-02-12 20:34:19 +01:00
2018-11-28 06:27:21 -08:00
2017-07-25 12:44:26 -07:00
2018-09-03 14:13:31 -07:00
2017-03-28 16:28:24 -07:00
2017-03-28 16:28:24 -07:00
2017-03-28 16:28:24 -07:00
2018-11-28 06:27:21 -08:00
2019-02-10 14:45:03 -08:00
2018-12-31 19:36:08 -06:00
2017-11-16 10:48:21 -08:00
2017-11-16 10:48:21 -08:00
2018-11-28 06:27:21 -08:00