Fabian Boehm
496d65fb5d
Apply variable overrides for exec
...
Fixes #9995
2023-10-06 18:15:25 +02:00
Fabian Homborg
8391f94081
Improve error for redirections to invalid paths
...
This finds the first broken component, to help people figure out where
they misspelt something.
E.g.
```
echo foo >/usr/lob/systemd/system/machines.target.wants/var-lib-machines.mount
```
will now show:
```
warning: Path '/usr/lob' does not exist
```
which would help with seeing that it should be "/usr/lib".
2021-11-20 17:44:05 +01:00
Fabian Homborg
f708632ca3
tests: Remove test for windows line ending message
...
This is flaky on launchpad for some reason, and it's really not
important enough to hold it up.
So let's just leave this untested.
2020-09-26 15:19:24 +02:00
Fabian Homborg
537b3f6cb1
tests/exec: Wait after writing to a file before executing it
...
Otherwise we might get "text file is busy", or worse no error at all.
Hoping .2 seconds is enough here.
2020-09-26 07:22:17 +02:00
Fabian Homborg
0d0ee473fa
Detect windows line endings when executing a file
...
Fixes #2783 .
2020-09-25 16:51:05 +02:00
Fabian Homborg
9367d4ff71
Reindent functions to remove useless quotes
...
This does not include checks/function.fish because that currently
includes a "; end" in a message that indent would remove, breaking the test.
2020-03-09 19:46:43 +01:00
Fabian Homborg
bf7629462a
Port some small tests to littlecheck
2020-02-08 10:38:11 +01:00