aboutsummaryrefslogtreecommitdiff
blob: 9f3e4bc809fe34ac17d5808af9a2638ed0695013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# make sure extra long paths don't cause sandbox to shit itself
# (actual exit status is irrelevant as it depends on host libc)
[ "${at_xfail}" = "yes" ] && exit 77 # see script-0

addwrite $PWD
mkdir foo && cd foo || exit 1
getcwd-gnulib_tst
case $? in
	0|1|2) exit 0;; # test may exit with these values
	*)     echo "someone get a diaper"; exit 1;;
esac